提交 cd77b628 编写于 作者: Q qijun

merge baidu/develop

上级 35086d06
...@@ -58,8 +58,7 @@ class GetPlacesOp : public framework::OperatorBase { ...@@ -58,8 +58,7 @@ class GetPlacesOp : public framework::OperatorBase {
class GetPlacesOpProtoMaker : public framework::OpProtoAndCheckerMaker { class GetPlacesOpProtoMaker : public framework::OpProtoAndCheckerMaker {
public: public:
GetPlacesOpProtoMaker(framework::OpProto *proto, GetPlacesOpProtoMaker(OpProto *proto, OpAttrChecker *op_checker)
framework::OpAttrChecker *op_checker)
: OpProtoAndCheckerMaker(proto, op_checker) { : OpProtoAndCheckerMaker(proto, op_checker) {
AddOutput("Out", "vector of Place"); AddOutput("Out", "vector of Place");
AddAttr<int>("device_count", "(int)device count").SetDefault(1); AddAttr<int>("device_count", "(int)device count").SetDefault(1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册