Home
last modified time | relevance | path

Searched refs:half_to_float (Results 1 – 4 of 4) sorted by relevance

/external/eigen/Eigen/src/Core/arch/CUDA/
DHalf.h65 EIGEN_STRONG_INLINE EIGEN_DEVICE_FUNC float half_to_float(__half h);
99 return static_cast<signed char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
102 return static_cast<unsigned char>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
105 return static_cast<short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
108 return static_cast<unsigned short>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
111 return static_cast<int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
114 return static_cast<unsigned int>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
117 return static_cast<long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
120 return static_cast<unsigned long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
123 return static_cast<long long>(half_impl::half_to_float(*this)); in EIGEN_EXPLICIT_CAST()
[all …]
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dconvert_nodes.cc1206 *out_min = Eigen::half_impl::half_to_float(*result.first); in GetWeightRange()
1207 *out_max = Eigen::half_impl::half_to_float(*result.second); in GetWeightRange()
3673 Eigen::half_impl::half_to_float(cast_vals_array[j][i]); in ConvertFusedBatchNorm()
3680 Eigen::half_impl::half_to_float(cast_vals_array[j][0]); in ConvertFusedBatchNorm()
Dconvert_nodes_test.cc182 EXPECT_FLOAT_EQ(Eigen::half_impl::half_to_float(lhs[i]), in ExpectArrayNear()
183 Eigen::half_impl::half_to_float(rhs[i])); in ExpectArrayNear()
/external/tensorflow/tensorflow/core/kernels/
Dreduction_gpu_kernels.cu.h169 return Eigen::half_impl::half_to_float(x);