Skip to content

Commit

Permalink
refine code
Browse files Browse the repository at this point in the history
  • Loading branch information
0x45f committed Feb 24, 2022
1 parent 23f23a7 commit 2c676c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paddle/phi/infermeta/binary.cc
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,8 @@ void CrossInferMeta(const MetaTensor& x,
x_dim[dim]));
}
out->set_dims(x_dim);
out->set_dtype(x.dtype);
out->set_layout(x.layout);
out->set_dtype(x.dtype());
out->set_layout(x.layout());
out->share_lod(x);
}

Expand Down

1 comment on commit 2c676c4

@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.