aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/ops/string_ops.py
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/ops/string_ops.py
parentf28e4d6faf94c08464f430f9cd01ef32dde6ad46 (diff)
Removing underscore prefixes from hidden generated Python functions.
PiperOrigin-RevId: 187386941
Diffstat (limited to 'tensorflow/python/ops/string_ops.py')
-rw-r--r--tensorflow/python/ops/string_ops.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tensorflow/python/ops/string_ops.py b/tensorflow/python/ops/string_ops.py
index b8c39d91b4..0335d2456a 100644
--- a/tensorflow/python/ops/string_ops.py
+++ b/tensorflow/python/ops/string_ops.py
@@ -93,10 +93,8 @@ def string_split(source, delimiter=" ", skip_empty=True): # pylint: disable=inv
delimiter = ops.convert_to_tensor(delimiter, dtype=dtypes.string)
source = ops.convert_to_tensor(source, dtype=dtypes.string)
- # pylint: disable=protected-access
- indices, values, shape = gen_string_ops._string_split(
+ indices, values, shape = gen_string_ops.string_split(
source, delimiter=delimiter, skip_empty=skip_empty)
- # pylint: enable=protected-access
indices.set_shape([None, 2])
values.set_shape([None])
shape.set_shape([2])