Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dmath.cc1363 auto from_as_int = BitcastConvertType(from, int_type); in NextAfter() local
1378 auto from_abs = And(from_as_int, ScalarLike(from_as_int, ~sign_mask)); in NextAfter()
1383 auto from_and_to_are_equal = Eq(from_as_int, to_as_int); in NextAfter()
1392 auto from_sign = And(from_as_int, ScalarLike(from_as_int, sign_mask)); in NextAfter()
1398 Or(to_sign, ScalarLike(from_as_int, 1)); in NextAfter()
1417 Broadcast(ScalarLike(from_as_int, -1), shape.dimensions()), in NextAfter()
1418 Broadcast(ScalarLike(from_as_int, 1), shape.dimensions())); in NextAfter()
1419 auto result = Add(from_as_int, magnitude_adjustment); in NextAfter()
/external/tensorflow/tensorflow/python/lib/core/
Dbfloat16.cc1252 uint16_t from_as_int, to_as_int; in operator ()() local
1255 memcpy(&from_as_int, &from, sizeof(bfloat16)); in operator ()()
1261 if (from_as_int == to_as_int) { in operator ()()
1275 uint16_t from_sign = from_as_int & sign_mask; in operator ()()
1277 uint16_t from_abs = from_as_int & ~sign_mask; in operator ()()
1281 uint16_t out_int = from_as_int + magnitude_adjustment; in operator ()()