Fix #18180
authorAsim Shankar <ashankar@google.com>
Mon, 2 Apr 2018 19:01:32 +0000 (12:01 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 2 Apr 2018 19:03:55 +0000 (12:03 -0700)
commit46df4a1afd50f69966e63245e7758cc0d5656c4e
tree57f0d278b0da9485e7284da6a007008817469716
parent6c4095c7353666c4b75ce189e68860be1159b40a
Fix #18180

tf.size() was not respecting the `out_type` argument when eager execution was
enabled.

PiperOrigin-RevId: 191326039
tensorflow/python/kernel_tests/array_ops_test.py
tensorflow/python/ops/array_ops.py