From 2635cc860cad2d38df9b8f8ed1fb24afd80b9cbc Mon Sep 17 00:00:00 2001 From: Feiyu Chan Date: Mon, 20 Dec 2021 15:41:21 +0800 Subject: [PATCH] fix typos in header inclusion in complex_op.cc (#38272) --- paddle/fluid/operators/complex_op.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/paddle/fluid/operators/complex_op.cc b/paddle/fluid/operators/complex_op.cc index 6ad8a121f78..25c9c4c3a80 100644 --- a/paddle/fluid/operators/complex_op.cc +++ b/paddle/fluid/operators/complex_op.cc @@ -16,7 +16,7 @@ limitations under the License. */ #include #include "paddle/fluid/framework/op_registry.h" -#include "paddle/fluid/operators/common_infer_shape_functions.cc" +#include "paddle/fluid/operators/elementwise/elementwise_op_function.h" namespace paddle { namespace operators { @@ -77,9 +77,9 @@ class ComplexOp : public framework::OperatorWithKernel { std::vector x_dims_array(max_dim); std::vector y_dims_array(max_dim); std::vector out_dims_array(max_dim); - details::GetBroadcastDimsArrays(x_dims, y_dims, x_dims_array.data(), - y_dims_array.data(), - out_dims_array.data(), max_dim, axis); + GetBroadcastDimsArrays(x_dims, y_dims, x_dims_array.data(), + y_dims_array.data(), out_dims_array.data(), + max_dim, axis); ctx->SetOutputDim("Out", framework::make_ddim(out_dims_array)); } } -- GitLab