Commit 88c5c8b3 authored by Yong Tang's avatar Yong Tang
Browse files

Fix warning in image_ops_test



While running test:
```
bazel test -s --verbose_failures --config=opt --cache_test_results=no //tensorflow/python:image_ops_test
```

The following warning showed up:
```
WARNING:tensorflow:From /home/ubuntu/.cache/bazel/_bazel_ubuntu/ad1e09741bb4109fbc70ef8216b59ee2/execroot/org_tensorflow/bazel-out/k8-opt/bin/tensorflow/python/image_ops_test.runfiles/org_tensorflow/tensorflow/python/ops/image_ops_impl.py:1170: calling squeeze (from tensorflow.python.ops.array_ops) with squeeze_dims is deprecated and will be removed in a future version.
Instructions for updating:
Use the `axis` argument instead
```

This fix fixes the above warning.

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent c42013f1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment