Commit fd9246a3 authored by Yong Tang's avatar Yong Tang Committed by Gunhan Gulsoy
Browse files

Switch from tf.contrib.metrics to tf.metrics (#18783)



* Switch from tf.contrib.metrics to tf.metrics

Much of the functions in `tf.contrib.metrics` has been
deprecated in favor of `tf.metrics`. This fix
switches `tf.contrib.metrics` to `tf.metrics`.

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>

* Change to `tf.metrics` in evaluation_test.py

Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>

* Fix pylint issue

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