Skip to content

Commit

Permalink
replace pt by pd
Browse files Browse the repository at this point in the history
  • Loading branch information
wjj19950828 committed Mar 6, 2022
1 parent 7617f0c commit 312ef41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions paddle/fluid/operators/is_empty_op.cc
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ It will just return product(tensor.ddims()) > 0;
} // namespace paddle

namespace ops = paddle::operators;
DELCARE_INFER_SHAPE_FUNCTOR(is_empty, IsEmptyInferShapeFunctor,
PT_INFER_META(phi::IsEmptyInferMeta));
DECLARE_INFER_SHAPE_FUNCTOR(is_empty, IsEmptyInferShapeFunctor,
PD_INFER_META(phi::IsEmptyInferMeta));
REGISTER_OPERATOR(
is_empty, ops::IsEmptyOp, ops::IsEmptyOpMaker,
paddle::framework::EmptyGradOpMaker<paddle::framework::OpDesc>,
Expand Down
2 changes: 1 addition & 1 deletion paddle/phi/kernels/is_empty_kernel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ PD_REGISTER_KERNEL(is_empty,
double,
int,
int64_t) {}
#endif
#endif

1 comment on commit 312ef41

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.