Make sure rounding and handling of denormals in Grappler is the same as in TensorFlow.
authorA. Unique TensorFlower <gardener@tensorflow.org>
Tue, 27 Feb 2018 03:46:27 +0000 (19:46 -0800)
committerGunhan Gulsoy <gunan@google.com>
Tue, 27 Feb 2018 22:33:33 +0000 (14:33 -0800)
commit9ba9cf259b38af8425f4ee3b8967b811575fd149
treee2870981f6c7d5f766b819ef1f1e5a60e741069a
parent9139a571f852d06541b0c9f2343c701ac4b7d4ff
Make sure rounding and handling of denormals in Grappler is the same as in TensorFlow.
Enable constant folding for more types, particularly on GPUs.

PiperOrigin-RevId: 187120456
tensorflow/core/grappler/op_types.cc
tensorflow/core/grappler/optimizers/constant_folding.cc
tensorflow/core/kernels/constant_op.cc