未验证 提交 70589379 编写于 作者: Z zyfncg 提交者: GitHub

Fix wrong eigen header include in data_type.h (#48157)

* Fix wrong eigen header include

* fix compile bug
上级 69eeaf03
......@@ -20,8 +20,6 @@ limitations under the License. */
#include "paddle/phi/common/data_type.h"
#include "paddle/phi/core/enforce.h"
#include "paddle/phi/kernels/funcs/eigen/extensions.h"
namespace phi {
// Here we can't depend on the fluid proto::VarType, so we use the dtype enum
......
......@@ -18,6 +18,8 @@ limitations under the License. */
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include "paddle/phi/kernels/funcs/eigen/extensions.h"
#include "unsupported/Eigen/CXX11/Tensor"
namespace phi {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册