aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/platform
diff options
context:
space:
mode:
authorGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-12 10:57:59 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-12 10:57:59 -0700
commit33c0fa89835cabf6360596e664441576fba67ff8 (patch)
treee297396d2cf7bf7c30c83290b814c7e6ec3c0fa8 /tensorflow/python/platform
parent2710a18d4871d7fa08ff2aa22b9b0fa274bf85cd (diff)
parentc3c6c45987692e8bc73eff2f10f9ec1a82f55287 (diff)
Merge pull request #21490 from tensorflow:rasmi-patch-1
PiperOrigin-RevId: 212667200
Diffstat (limited to 'tensorflow/python/platform')
-rw-r--r--tensorflow/python/platform/gfile.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/python/platform/gfile.py b/tensorflow/python/platform/gfile.py
index 45de047894..5927bc2409 100644
--- a/tensorflow/python/platform/gfile.py
+++ b/tensorflow/python/platform/gfile.py
@@ -33,6 +33,7 @@ from tensorflow.python.lib.io.file_io import rename as Rename
from tensorflow.python.lib.io.file_io import stat as Stat
from tensorflow.python.lib.io.file_io import walk as Walk
# pylint: enable=unused-import
+from tensorflow.python.util.deprecation import deprecated
from tensorflow.python.util.tf_export import tf_export
@@ -62,6 +63,7 @@ class FastGFile(_FileIO):
invocations in network filesystems).
"""
+ @deprecated(None, 'Use tf.gfile.GFile.')
def __init__(self, name, mode='r'):
super(FastGFile, self).__init__(name=name, mode=mode)