aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/ops/string_ops.py
diff options
context:
space:
mode:
authorGravatar Anna R <annarev@google.com>2018-01-22 17:16:44 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-01-22 17:22:31 -0800
commit2968447d32bdfd0dd6fafabfcd1aafd6dc261803 (patch)
treeca1432cc15d217f8b3e1881b4461cd602657382b /tensorflow/python/ops/string_ops.py
parentf5356644fd3467afa275ec2155281825b7e927a0 (diff)
Adding tf_export decorators/calls to TensorFlow functions and constants.
PiperOrigin-RevId: 182862075
Diffstat (limited to 'tensorflow/python/ops/string_ops.py')
-rw-r--r--tensorflow/python/ops/string_ops.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/python/ops/string_ops.py b/tensorflow/python/ops/string_ops.py
index f30e79a108..b8c39d91b4 100644
--- a/tensorflow/python/ops/string_ops.py
+++ b/tensorflow/python/ops/string_ops.py
@@ -47,9 +47,11 @@ from tensorflow.python.ops import math_ops
# pylint: disable=wildcard-import
from tensorflow.python.ops.gen_string_ops import *
from tensorflow.python.util import deprecation
+from tensorflow.python.util.tf_export import tf_export
# pylint: enable=wildcard-import
+@tf_export("string_split")
def string_split(source, delimiter=" ", skip_empty=True): # pylint: disable=invalid-name
"""Split elements of `source` based on `delimiter` into a `SparseTensor`.
@@ -120,6 +122,7 @@ def _reduce_join_reduction_dims(x, axis, reduction_indices):
return math_ops.range(array_ops.rank(x) - 1, -1, -1)
+@tf_export("reduce_join")
def reduce_join(inputs, axis=None,
keep_dims=False,
separator="",