Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_utils.cc214 double midpoint_err = midpoint_interp_val - midpoint_val; in getTosaConst16bitTable() local
215 int32_t bias = std::llround(midpoint_err / 2.0); in getTosaConst16bitTable()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dcommon.h435 const FloatT midpoint_err = midpoint_interp_val - midpoint_val; in gen_lut() local
436 const FloatT bias = TfLiteRound(midpoint_err / 2); in gen_lut()