Commit 1a2e3618 authored by Jingyue Wu's avatar Jingyue Wu Committed by TensorFlower Gardener
Browse files

Fix tf.quantize_and_dequantize_(v2|v3) to be consistent with the doc.

I choose round-half-to-even, which matches
cudnnConvolutionBiasActivationForward and cudnnTransformTensor. I can add an
attribute for the rounding mode in the future if necessary.

PiperOrigin-RevId: 207316630
parent 1c9757d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment