Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dprng.cc479 int num_mantissa_bits = primitive_util::SignificandWidth(value_type) - 1; in ConvertRandomBitsToUniformFloatingPoint() local
484 bits, ScalarLike(bits, num_float_bits - num_mantissa_bits)); in ConvertRandomBitsToUniformFloatingPoint()
492 values = values * ScalarLike(values, std::ldexp(1., -num_mantissa_bits)); in ConvertRandomBitsToUniformFloatingPoint()