提交 64509fd9 编写于 作者: K ktlichkid

Style fix

上级 294b58a9
...@@ -254,7 +254,6 @@ class BeamSearchOp : public framework::OperatorWithKernel { ...@@ -254,7 +254,6 @@ class BeamSearchOp : public framework::OperatorWithKernel {
} }
}; };
class BeamSearchInferVarType : public framework::VarTypeInference { class BeamSearchInferVarType : public framework::VarTypeInference {
public: public:
void operator()(const framework::OpDesc &op_desc, void operator()(const framework::OpDesc &op_desc,
...@@ -271,7 +270,6 @@ class BeamSearchInferVarType : public framework::VarTypeInference { ...@@ -271,7 +270,6 @@ class BeamSearchInferVarType : public framework::VarTypeInference {
} // namespace operators } // namespace operators
} // namespace paddle } // namespace paddle
namespace ops = paddle::operators; namespace ops = paddle::operators;
REGISTER_OPERATOR(beam_search, ops::BeamSearchOp, ops::BeamSearchOpMaker, REGISTER_OPERATOR(beam_search, ops::BeamSearchOp, ops::BeamSearchOpMaker,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册