Convert unicode to six.string_types for python 3 (#16676)
authorYong Tang <yong.tang.github@outlook.com>
Sat, 3 Feb 2018 00:37:50 +0000 (16:37 -0800)
committerAndrew Harp <andrewharp@users.noreply.github.com>
Sat, 3 Feb 2018 00:37:50 +0000 (19:37 -0500)
commit83ad2e8ade5dceaec466d2f7f4d5545cee6ba79a
tree02abba19b60ebc189e7883fd8b1b990f9c71c711
parent1f2a68267ebe08f71e59d86c544fb42e46ba0f62
Convert unicode to six.string_types for python 3 (#16676)

In Python 3, there is no unicode type. This fix converts
unicode to use six.string_types instead, while maintaining
python 2/3 compatibility.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
tensorflow/contrib/learn/python/learn/monitors.py