未验证 提交 55a3bfbd 编写于 作者: A Aurelius84 提交者: GitHub

[Phi] Fix macro name typo (#40204)

上级 d255bfe0
...@@ -82,8 +82,8 @@ $$ ...@@ -82,8 +82,8 @@ $$
namespace ops = paddle::operators; namespace ops = paddle::operators;
namespace ops = paddle::operators; namespace ops = paddle::operators;
DELCARE_INFER_SHAPE_FUNCTOR(adadelta, AdadeltaInferMetaFunctor, DECLARE_INFER_SHAPE_FUNCTOR(adadelta, AdadeltaInferMetaFunctor,
PT_INFER_META(phi::AdadeltaInferMeta)); PD_INFER_META(phi::AdadeltaInferMeta));
REGISTER_OPERATOR( REGISTER_OPERATOR(
adadelta, ops::AdadeltaOp, ops::AdadeltaOpMaker, adadelta, ops::AdadeltaOp, ops::AdadeltaOpMaker,
paddle::framework::EmptyGradOpMaker<paddle::framework::OpDesc>, paddle::framework::EmptyGradOpMaker<paddle::framework::OpDesc>,
......
...@@ -92,8 +92,8 @@ division by 0 error. ...@@ -92,8 +92,8 @@ division by 0 error.
} // namespace paddle } // namespace paddle
namespace ops = paddle::operators; namespace ops = paddle::operators;
DELCARE_INFER_SHAPE_FUNCTOR(adamax, AdamaxInferMetaFunctor, DECLARE_INFER_SHAPE_FUNCTOR(adamax, AdamaxInferMetaFunctor,
PT_INFER_META(phi::AdamaxInferMeta)); PD_INFER_META(phi::AdamaxInferMeta));
REGISTER_OPERATOR( REGISTER_OPERATOR(
adamax, ops::AdamaxOp, ops::AdamaxOpMaker, adamax, ops::AdamaxOp, ops::AdamaxOpMaker,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册