Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dquantized_resize_bilinear_op.cc125 constexpr T_CALC RESOLUTION_MULT = (1 << RESOLUTION); in ComputeLerp() local
126 const T_CALC top = static_cast<T_CALC>(top_left) * RESOLUTION_MULT + in ComputeLerp()
129 static_cast<T_CALC>(bottom_left) * RESOLUTION_MULT + in ComputeLerp()
131 const T_CALC out = top + (bottom - top) / RESOLUTION_MULT * y_lerp; in ComputeLerp()
133 static_cast<int32>((out + RESOLUTION_MULT / 2) / RESOLUTION_MULT)); in ComputeLerp()
Dquantization_utils.h514 static const uint8x8_t RESOLUTION_MULT = vdup_n_u8(RESOLUTION_MULT_VAL); in ComputeLerp8x8() local
517 vreinterpretq_s16_u16(vmull_u8(top_left8x8, RESOLUTION_MULT)); in ComputeLerp8x8()
519 vreinterpretq_s16_u16(vmull_u8(bottom_left8x8, RESOLUTION_MULT)); in ComputeLerp8x8()