Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/lib/core/
Dbfloat16.cc1252 uint16_t from_as_int, to_as_int; in operator ()() local
1256 memcpy(&to_as_int, &to, sizeof(bfloat16)); in operator ()()
1261 if (from_as_int == to_as_int) { in operator ()()
1269 uint16_t out_int = (to_as_int & sign_mask) | 1; in operator ()()
1276 uint16_t to_sign = to_as_int & sign_mask; in operator ()()
1278 uint16_t to_abs = to_as_int & ~sign_mask; in operator ()()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dmath.cc1364 auto to_as_int = BitcastConvertType(to, int_type); in NextAfter() local
1379 auto to_abs = And(to_as_int, ScalarLike(to_as_int, ~sign_mask)); in NextAfter()
1383 auto from_and_to_are_equal = Eq(from_as_int, to_as_int); in NextAfter()
1384 auto result_for_equal = to_as_int; in NextAfter()
1390 auto result_for_both_zero = to_as_int; in NextAfter()
1393 auto to_sign = And(to_as_int, ScalarLike(to_as_int, sign_mask)); in NextAfter()