From 3cbcaf1afd10ce75422f5494d07e760603270cab Mon Sep 17 00:00:00 2001 From: zyfncg Date: Mon, 10 Apr 2023 11:17:19 +0800 Subject: [PATCH] add tensor_utils.h into all.h (#52600) --- paddle/phi/api/all.h | 1 + paddle/phi/api/yaml/fused_backward.yaml | 2 +- paddle/phi/api/yaml/fused_ops.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/paddle/phi/api/all.h b/paddle/phi/api/all.h index 1dd908991f4..b70119e1e4e 100644 --- a/paddle/phi/api/all.h +++ b/paddle/phi/api/all.h @@ -30,6 +30,7 @@ limitations under the License. */ #include "paddle/phi/api/include/fused_api.h" #include "paddle/phi/api/include/sparse_api.h" #include "paddle/phi/api/include/tensor.h" +#include "paddle/phi/api/include/tensor_utils.h" // phi common headers #include "paddle/phi/common/backend.h" diff --git a/paddle/phi/api/yaml/fused_backward.yaml b/paddle/phi/api/yaml/fused_backward.yaml index bdea08a1dd6..5bddb16ae9b 100644 --- a/paddle/phi/api/yaml/fused_backward.yaml +++ b/paddle/phi/api/yaml/fused_backward.yaml @@ -1,6 +1,6 @@ # This file is designed for fusion C++ backward operators, which manages the # generated code for static mode and dynamic mode (when `support_dygraph_mode` is true). -# "support_dygraph_mode" is and extra configuration item in this file, +# "support_dygraph_mode" is an extra configuration item in this file, # if one operator have "support_dygraph_mode : true", it supports dygraph mode, # otherwise the operator only could be used in static mode. diff --git a/paddle/phi/api/yaml/fused_ops.yaml b/paddle/phi/api/yaml/fused_ops.yaml index 452983351da..c9fae2a81e3 100644 --- a/paddle/phi/api/yaml/fused_ops.yaml +++ b/paddle/phi/api/yaml/fused_ops.yaml @@ -1,6 +1,6 @@ # This file is designed for fusion C++ farward operators, which manages the # generated code for static mode and dynamic mode (when `support_dygraph_mode` is true). -# "support_dygraph_mode" is and extra configuration item in this file, +# "support_dygraph_mode" is an extra configuration item in this file, # if one operator have "support_dygraph_mode : true", it supports dygraph mode, # otherwise the operator only could be used in static mode. -- GitLab