From 7a7d27b33e26e5008b905cc105ff9667f6b0ec2a Mon Sep 17 00:00:00 2001 From: typhoonzero Date: Fri, 11 May 2018 19:56:21 +0800 Subject: [PATCH] update op --- paddle/fluid/operators/gen_nccl_id_op.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/paddle/fluid/operators/gen_nccl_id_op.cc b/paddle/fluid/operators/gen_nccl_id_op.cc index 1cddc998e..77cd4a460 100644 --- a/paddle/fluid/operators/gen_nccl_id_op.cc +++ b/paddle/fluid/operators/gen_nccl_id_op.cc @@ -102,8 +102,7 @@ class GenNCCLIdOp : public framework::OperatorBase { class GenNCCLIdOpMaker : public framework::OpProtoAndCheckerMaker { public: - GenNCCLIdOpMaker(OpProto* proto, OpAttrChecker* op_checker) - : OpProtoAndCheckerMaker(proto, op_checker) { + void Make() override { AddOutput("NCCLID", "Raw variable contains a NCCL UniqueId instaces."); AddComment(R"DOC( GenNCCLId operator -- GitLab