Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dquantize_and_dequantize_op.h54 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/
Dquantize_and_dequantize_op.cc121 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/
Dquantization_util.cc135 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/
Dquantum.c594 quantum_info->state.inverse_scale=1.0; in ResetQuantumState()
596 quantum_info->state.inverse_scale/=quantum_info->scale; in ResetQuantumState()
Dquantum-private.h33 inverse_scale; member
Dquantum-export.c124 *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()