diff --git a/paddle/phi/api/ext/tensor_compat.h b/paddle/phi/api/ext/tensor_compat.h index 1bcf3d78d1fcbdded9e9585a00ec4ab97e253c1b..6de78d8c92c60094bc9606090e0c27c508623ff3 100644 --- a/paddle/phi/api/ext/tensor_compat.h +++ b/paddle/phi/api/ext/tensor_compat.h @@ -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; @@ -133,5 +134,6 @@ using experimental::unbind; using experimental::unique; using experimental::unsqueeze; using experimental::where; +using experimental::zeros; } // namespace paddle