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

[Phi] Fix macro name typo (#40204)

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