Searched refs:headroom_plus_one (Results 1 – 2 of 2) sorted by relevance
196 uint8_t headroom_plus_one = in SoftmaxInt16() local199 ((static_cast<int64_t>(sum_of_exps) << (headroom_plus_one - 1)) + in SoftmaxInt16()216 uint8_t right_shift = 31 - headroom_plus_one; in SoftmaxInt16()
625 int headroom_plus_one = CountLeadingZeros(static_cast<uint32_t>(x)); in GetReciprocal() local629 *num_bits_over_unit = x_integer_digits - headroom_plus_one; in GetReciprocal()631 static_cast<int32_t>((static_cast<uint32_t>(x) << headroom_plus_one) - in GetReciprocal()