Make tf.size() with optimize=True encode 0 if any dimension is 0.
authorSkye Wanderman-Milne <skyewm@google.com>
Fri, 23 Feb 2018 22:38:37 +0000 (14:38 -0800)
committerTensorFlower Gardener <gardener@tensorflow.org>
Fri, 23 Feb 2018 22:43:15 +0000 (14:43 -0800)
commit7134e84a3dcf2e18e98e4ccc1498e4b4f41de014
tree3f1dbb2fc81752cfa00bee43bbe19ff11ffca882
parentab6da3024642429367302d6d2623d57beba9b20b
Make tf.size() with optimize=True encode 0 if any dimension is 0.

PiperOrigin-RevId: 186824964
tensorflow/python/ops/array_ops.py