Skip to content

Commit

Permalink
[PHI] Add ones/zeros in tensor_compat.h (#44860)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurelius84 authored Aug 4, 2022
1 parent 9e39d74 commit d3e9068
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions paddle/phi/api/ext/tensor_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ using experimental::multiply;
using experimental::mv;
using experimental::nll_loss;
using experimental::one_hot;
using experimental::ones;
using experimental::pixel_shuffle;
using experimental::poisson;
using experimental::qr;
Expand Down Expand Up @@ -133,5 +134,6 @@ using experimental::unbind;
using experimental::unique;
using experimental::unsqueeze;
using experimental::where;
using experimental::zeros;

} // namespace paddle

0 comments on commit d3e9068

Please sign in to comment.