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

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

* Fix wrong eigen header include

* fix compile bug
上级 b9b7f009
......@@ -19,8 +19,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 {
#define _PhiForEachDataTypeHelper_(callback, cpp_type, data_type) \
......
......@@ -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.
先完成此消息的编辑!
想要评论请 注册