mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
c58b874727
Without explicit conversion Tensorflow fails to compile, pset1 template deduction fails. cannot convert '((const Eigen::internal::MeanReducer<Eigen::half>*)this) ->Eigen::internal::MeanReducer<Eigen::half>::packetCount_' (type 'const DenseIndex {aka const long int}') to type 'const type& {aka const Eigen::half&}' return pdiv(vaccum, pset1<Packet>(packetCount_)); Honestly I’m not sure why it works in Eigen tests, because Eigen::half constructor is explicit, and why it stopped working in TF, I didn’t find any relevant changes since previous Eigen upgrade. static_cast<T>(packetCount_) - breaks cxx11_tensor_reductions test for Eigen::half, also quite surprising. |
||
---|---|---|
.. | ||
CXX11 | ||
src | ||
AdolcForward | ||
AlignedVector3 | ||
ArpackSupport | ||
AutoDiff | ||
BVH | ||
CMakeLists.txt | ||
EulerAngles | ||
FFT | ||
IterativeSolvers | ||
KroneckerProduct | ||
LevenbergMarquardt | ||
MatrixFunctions | ||
MoreVectorization | ||
MPRealSupport | ||
NonLinearOptimization | ||
NumericalDiff | ||
OpenGLSupport | ||
Polynomials | ||
Skyline | ||
SparseExtra | ||
SpecialFunctions | ||
Splines |