Change from squeeze_dims to axis when calling tf.squeeze
authorYong Tang <yong.tang.github@outlook.com>
Sun, 22 Apr 2018 17:49:13 +0000 (17:49 +0000)
committerYong Tang <yong.tang.github@outlook.com>
Sun, 22 Apr 2018 17:49:13 +0000 (17:49 +0000)
commit21bd19a8b8b0be8ac4d39b6bc32366ba908f5105
tree5ba45c56bdcf041719677a8dd6267844eb883220
parentd86c127cb0c10625a3d16d110d07d7b1fbe3c820
Change from squeeze_dims to axis when calling tf.squeeze

The `squeeze_dims` in `tf.squeeze` has been deprecated in favor
of `axis` while many places still use `squeeze_dims`. That
generates lots of warnings.

This fix switches from `squeeze_dims` to `axis` to remove those warnings.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
tensorflow/python/ops/array_grad.py
tensorflow/python/ops/array_ops.py