Use tensorflow size to determine number of elements instead of the static shape,...
authorSuharsh Sivakumar <suharshs@google.com>
Thu, 3 May 2018 07:16:09 +0000 (00:16 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 3 May 2018 07:18:26 +0000 (00:18 -0700)
commit283e8fe7e191f8e0e2ca6ea62b8b4553c30a6286
tree4a871b5ec92f529a63c608793568438755a1345d
parent985351dc1ab33cedbfd7790dd9cccc36d2d4b150
Use tensorflow size to determine number of elements instead of the static shape, which can sometimes be missing.

PiperOrigin-RevId: 195209826
tensorflow/contrib/quantize/python/fold_batch_norms.py