aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/user_ops
diff options
context:
space:
mode:
authorGravatar Anna R <annarev@google.com>2018-02-28 14:50:02 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-02-28 14:53:59 -0800
commit91d49c7d98114da4e4647c62d9f9b69119296b69 (patch)
treef471ce837b915650f1128a57d505ac2c46dc51da /tensorflow/python/user_ops
parentf28e4d6faf94c08464f430f9cd01ef32dde6ad46 (diff)
Removing underscore prefixes from hidden generated Python functions.
PiperOrigin-RevId: 187386941
Diffstat (limited to 'tensorflow/python/user_ops')
-rw-r--r--tensorflow/python/user_ops/user_ops.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/user_ops/user_ops.py b/tensorflow/python/user_ops/user_ops.py
index 17dbab706c..6f9b5d92bb 100644
--- a/tensorflow/python/user_ops/user_ops.py
+++ b/tensorflow/python/user_ops/user_ops.py
@@ -27,4 +27,4 @@ from tensorflow.python.ops.gen_user_ops import * # pylint: disable=wildcard-imp
def my_fact():
"""Example of overriding the generated code for an Op."""
- return _gen_user_ops._fact() # pylint: disable=protected-access
+ return _gen_user_ops.fact()