Home
last modified time | relevance | path

Searched refs:round_mode_ (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dquantize_and_dequantize_op.cc54 round_mode_ = ROUND_HALF_TO_EVEN; in QuantizeAndDequantizeOp()
187 switch (round_mode_) { in Compile()
206 QuantizerRoundMode round_mode_; member in tensorflow::__anon210cb6f00111::QuantizeAndDequantizeOp
227 round_mode_ = ROUND_HALF_UP; in QuantizeAndDequantizeV2Op()
229 round_mode_ = ROUND_HALF_TO_EVEN; in QuantizeAndDequantizeV2Op()
/external/tensorflow/tensorflow/core/kernels/
Dquantize_op.cc94 round_mode_ = ROUND_HALF_AWAY_FROM_ZERO; in QuantizeV2Op()
101 round_mode_ = ROUND_HALF_TO_EVEN; in QuantizeV2Op()
278 if (round_mode_ == ROUND_HALF_TO_EVEN) { in QuantizeSlice()
284 } else if (round_mode_ == ROUND_HALF_AWAY_FROM_ZERO) { in QuantizeSlice()
300 int round_mode_; member in tensorflow::QuantizeV2Op
Dquantize_and_dequantize_op.cc65 round_mode_ = ROUND_HALF_UP; in QuantizeAndDequantizeV2Op()
67 round_mode_ = ROUND_HALF_TO_EVEN; in QuantizeAndDequantizeV2Op()
117 range_given_, &input_min_tensor, &input_max_tensor, round_mode_, in Compute()
124 round_mode_, narrow_range_, in Compute()
132 QuantizerRoundMode round_mode_; member in tensorflow::QuantizeAndDequantizeV2Op
/external/tensorflow/tensorflow/core/kernels/mkl/
Dmkl_quantize_op.cc243 round_mode_ = ROUND_HALF_AWAY_FROM_ZERO; in MklQuantizeV2Op()
250 round_mode_ = ROUND_HALF_TO_EVEN; in MklQuantizeV2Op()
488 int round_mode_; member in tensorflow::MklQuantizeV2Op