Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dquantize_and_dequantize_op.cc145 xla::XlaOp scale_from_min_side = in Compile() local
153 xla::XlaOp cond = Lt(scale_from_min_side, scale_from_max_side); in Compile()
154 xla::XlaOp scale = Select(cond, scale_from_min_side, scale_from_max_side); in Compile()
/external/tensorflow/tensorflow/core/kernels/
Dquantize_and_dequantize_op.h160 const T scale_from_min_side = (min_quantized * *min_range > 0) in ComputeQuantizationRange() local
168 if (scale_from_min_side < scale_from_max_side) { in ComputeQuantizationRange()
169 *scale = scale_from_min_side; in ComputeQuantizationRange()