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

[PHI] Add ones/zeros in tensor_compat.h (#44860)

上级 9e39d746
...@@ -101,6 +101,7 @@ using experimental::multiply; ...@@ -101,6 +101,7 @@ using experimental::multiply;
using experimental::mv; using experimental::mv;
using experimental::nll_loss; using experimental::nll_loss;
using experimental::one_hot; using experimental::one_hot;
using experimental::ones;
using experimental::pixel_shuffle; using experimental::pixel_shuffle;
using experimental::poisson; using experimental::poisson;
using experimental::qr; using experimental::qr;
...@@ -133,5 +134,6 @@ using experimental::unbind; ...@@ -133,5 +134,6 @@ using experimental::unbind;
using experimental::unique; using experimental::unique;
using experimental::unsqueeze; using experimental::unsqueeze;
using experimental::where; using experimental::where;
using experimental::zeros;
} // namespace paddle } // namespace paddle
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册