aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/grappler
diff options
context:
space:
mode:
authorGravatar Anna R <annarev@google.com>2018-03-14 15:25:53 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-03-14 15:30:13 -0700
commitc6dbbdc339ab351700793885417d12fd7172d14c (patch)
tree4cde391f4e90de4af2df1bb0f4db233ba1979ca9 /tensorflow/python/grappler
parenta12d5cc7d5aa3d159312424a2b84d33a7648775d (diff)
Remove underscore prefix from ref_identity op.
PiperOrigin-RevId: 189096108
Diffstat (limited to 'tensorflow/python/grappler')
-rw-r--r--tensorflow/python/grappler/item_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/grappler/item_test.py b/tensorflow/python/grappler/item_test.py
index 7c3efd6249..c40de9da0a 100644
--- a/tensorflow/python/grappler/item_test.py
+++ b/tensorflow/python/grappler/item_test.py
@@ -111,7 +111,7 @@ class ItemTest(test.TestCase):
with ops.Graph().as_default() as g:
c = constant_op.constant([10])
v = variables.Variable([3], dtype=dtypes.int32)
- i = gen_array_ops._ref_identity(v)
+ i = gen_array_ops.ref_identity(v)
a = state_ops.assign(i, c)
train_op = ops.get_collection_ref(ops.GraphKeys.TRAIN_OP)
train_op.append(a)