Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/framework/
Dnumeric_types.h49 static inline tensorflow::bfloat16 FloatToBFloat16(float float_val) { in FloatToBFloat16() function
71 return FloatToBFloat16(NumTraits<float>::highest());
75 return FloatToBFloat16(NumTraits<float>::lowest());
79 return FloatToBFloat16(NumTraits<float>::infinity());
83 return FloatToBFloat16(NumTraits<float>::quiet_NaN());
Dbfloat16_test.cc133 FloatToBFloat16(a, b, 100); in TEST()
165 FloatToBFloat16(inp, out, N); in BM_FloatToBFloat16()
Dbfloat16.h58 void FloatToBFloat16(const float* src, bfloat16* dst, int64 size);
Dbfloat16.cc20 void FloatToBFloat16(const float* src, bfloat16* dst, int64 size) { in FloatToBFloat16() function
/external/tensorflow/tensorflow/core/kernels/
Dmatmul_op.cc514 FloatToBFloat16(out_float.flat<float>().data(), in Compute()