In libtorch/include/caffe2/core/macros.h, EIGEN_MPL2_ONLY is defined.
However I don’t want to define this, because this disables what I need to use in Eigen.
Actually, when I removed this definition, there was no problem. My program was successfully built and worked.
But, may removing this part make any error ?