Searched refs:inverse_scale (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/ |
D | quantize_and_dequantize_op.h | 54 T min_range, T max_range, T scale, T inverse_scale, in ClampScaleAndRound() argument 58 inverse_scale; in ClampScaleAndRound() 64 T min_range, T max_range, T scale, T inverse_scale, in ClampScaleAndRound() argument 69 ClampScaleAndRound(d, input, min_range, max_range, scale, inverse_scale, in ClampScaleAndRound() 73 ClampScaleAndRound(d, input, min_range, max_range, scale, inverse_scale, in ClampScaleAndRound() 82 T inverse_scale, Func round_func, in ScaleAndRound() argument 84 out.device(d) = (input * scale).unaryExpr(round_func) * inverse_scale; in ScaleAndRound() 90 T inverse_scale, QuantizerRoundMode round_mode, in ScaleAndRound() argument 94 ScaleAndRound(d, input, scale, inverse_scale, in ScaleAndRound() 98 ScaleAndRound(d, input, scale, inverse_scale, in ScaleAndRound() [all …]
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | quantize_and_dequantize_op.cc | 121 xla::XlaOp inverse_scale = in Compile() local 123 min_range = Select(cond, min_range, min_quantized * inverse_scale); in Compile() 124 max_range = Select(cond, max_quantized * inverse_scale, max_range); in Compile() 138 result = xla::RoundToEven(input * scale) * inverse_scale; in Compile() 142 result = Floor(input * scale + half) * inverse_scale; in Compile()
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | quantization_util.cc | 135 const auto inverse_scale = 1. / quantization_params.scale; in QuantizeBuffer() local 150 scaled_val = quantization_params.zero_point + inverse_scale * src_val; in QuantizeBuffer()
|
/external/ImageMagick/MagickCore/ |
D | quantum.c | 594 quantum_info->state.inverse_scale=1.0; in ResetQuantumState() 596 quantum_info->state.inverse_scale/=quantum_info->scale; in ResetQuantumState()
|
D | quantum-private.h | 33 inverse_scale; member
|
D | quantum-export.c | 124 *p=(double) (pixel*quantum_info->state.inverse_scale+quantum_info->minimum); in PopDoublePixel() 159 *p=(float) ((double) pixel*quantum_info->state.inverse_scale+ in PopFloatPixel()
|