Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/kernels/internal/
Dcommon.h492 inline void DownScaleInt32ToInt16Multiplier(int32_t multiplier_int32_t, in DownScaleInt32ToInt16Multiplier() argument
494 TFLITE_DCHECK_GE(multiplier_int32_t, 0); in DownScaleInt32ToInt16Multiplier()
496 if (multiplier_int32_t >= in DownScaleInt32ToInt16Multiplier()
501 const int32_t result = (multiplier_int32_t + kRoundingOffset) >> 16; in DownScaleInt32ToInt16Multiplier()
502 TFLITE_DCHECK_LE(result << 16, multiplier_int32_t + kRoundingOffset); in DownScaleInt32ToInt16Multiplier()
503 TFLITE_DCHECK_GT(result << 16, multiplier_int32_t - kRoundingOffset); in DownScaleInt32ToInt16Multiplier()