diff --git a/paddle/fluid/framework/data_type.h b/paddle/fluid/framework/data_type.h index ab63b489a2edad45a27643421406cbe96d1f035f..fd1c06fc6458e1eb20e668e27b4ca7cc33deb0e2 100644 --- a/paddle/fluid/framework/data_type.h +++ b/paddle/fluid/framework/data_type.h @@ -22,7 +22,6 @@ limitations under the License. */ #include "paddle/fluid/platform/complex.h" #include "paddle/fluid/platform/enforce.h" #include "paddle/fluid/platform/float16.h" -#include "paddle/phi/kernels/funcs/eigen/extensions.h" namespace paddle { namespace framework { diff --git a/paddle/fluid/framework/eigen.h b/paddle/fluid/framework/eigen.h index c383342ee3456eb6206882bd805aea79f2839fb9..22d3ac4333fb62f2755bf6cd0460b13809cd0302 100644 --- a/paddle/fluid/framework/eigen.h +++ b/paddle/fluid/framework/eigen.h @@ -17,6 +17,7 @@ limitations under the License. */ #include #include "paddle/fluid/framework/tensor.h" +#include "paddle/phi/kernels/funcs/eigen/extensions.h" #include "unsupported/Eigen/CXX11/Tensor" namespace paddle {