Searched refs:nudged_max (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/ |
D | fake_quant_ops_functor.h | 43 float* nudged_min, float* nudged_max, float* scale) { in Nudge() argument 60 *nudged_max = (quant_max_float - nudged_zero_point) * (*scale); in Nudge() 87 float nudged_min, nudged_max, nudged_scale; in operator() local 88 Nudge(min, max, quant_min, quant_max, &nudged_min, &nudged_max, in operator() 92 auto clamped = inputs.cwiseMin(nudged_max).cwiseMax(nudged_min); in operator() 112 float nudged_min, nudged_max, nudged_scale; in operator() local 113 Nudge(min, max, quant_min, quant_max, &nudged_min, &nudged_max, in operator() 117 (inputs >= nudged_min && inputs <= nudged_max) in operator() 138 float nudged_min, nudged_max, nudged_scale; in operator() local 139 Nudge(min_val, max_val, quant_min, quant_max, &nudged_min, &nudged_max, in operator() [all …]
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | quantization_util.cc | 321 float* nudged_min, float* nudged_max, in NudgeQuantizationRange() argument 337 *nudged_max = (quant_max_float - nudged_zero_point) * (*nudged_scale); in NudgeQuantizationRange() 341 const float nudged_max, const float* input_data, in FakeQuantizeArray() argument 348 const float clamped = std::min(nudged_max, std::max(nudged_min, src_val)); in FakeQuantizeArray()
|
D | quantization_util.h | 263 float* nudged_min, float* nudged_max, 270 const float nudged_max, const float* input_data,
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | fake_quantize_ops.cc | 29 const float quant_max, float* nudged_min, float* nudged_max, in CpuNudge() argument 44 *nudged_max = (quant_max - nudged_zero_point) * (*scale); in CpuNudge() 51 xla::XlaOp* nudged_min, xla::XlaOp* nudged_max, in XlaNudge() argument 66 *nudged_max = xla::Mul(xla::Sub(quant_max, nudged_zero_point), *scale); in XlaNudge()
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | resolve_constant_fake_quant.cc | 131 const float nudged_max = (quantized_max - qparams.zero_point) * scale; in Run() local 132 tflite::FakeQuantizeArray(scale, nudged_min, nudged_max, in Run()
|
/external/tensorflow/tensorflow/lite/kernels/internal/reference/ |
D | reference_ops.h | 2896 float nudged_min, nudged_max, nudged_scale; in FakeQuant() local 2898 &nudged_max, &nudged_scale); in FakeQuant() 2900 FakeQuantizeArray(nudged_scale, nudged_min, nudged_max, input_data, in FakeQuant()
|