aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/util
diff options
context:
space:
mode:
authorGravatar Akshay Modi <nareshmodi@google.com>2018-09-09 07:18:09 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-09 07:21:39 -0700
commitd31f360e1574553ed23b8d483512a2065ac426eb (patch)
tree486b02e2d2e79282d77a07ef279ffa7f4632a688 /tensorflow/python/util
parentb4d89565fcd73b4f2c4d6aa1ff159006795674b5 (diff)
Automated rollback of commit 39b2fb7cfef489424fead18ec5174d8e8b2a9a1a
PiperOrigin-RevId: 212177437
Diffstat (limited to 'tensorflow/python/util')
-rw-r--r--tensorflow/python/util/util.i27
1 files changed, 0 insertions, 27 deletions
diff --git a/tensorflow/python/util/util.i b/tensorflow/python/util/util.i
index 104a615636..6d336ac39d 100644
--- a/tensorflow/python/util/util.i
+++ b/tensorflow/python/util/util.i
@@ -104,36 +104,9 @@ Raises:
%unignore tensorflow::swig::Flatten;
%noexception tensorflow::swig::Flatten;
-%feature("docstring") tensorflow::swig::IsSequenceForData
-"""Returns a true if `seq` is a Sequence or dict (except strings/lists).
-
-NOTE(mrry): This differs from `tensorflow.python.util.nest.is_sequence()`,
-which *does* treat a Python list as a sequence. For ergonomic
-reasons, `tf.data` users would prefer to treat lists as
-implicit `tf.Tensor` objects, and dicts as (nested) sequences.
-
-Args:
- seq: an input sequence.
-
-Returns:
- True if the sequence is a not a string or list and is a
- collections.Sequence.
-"""
%unignore tensorflow::swig::IsSequenceForData;
%noexception tensorflow::swig::IsSequenceForData;
-%feature("docstring") tensorflow::swig::FlattenForData
-"""Returns a flat sequence from a given nested structure.
-
-If `nest` is not a sequence, this returns a single-element list: `[nest]`.
-
-Args:
- nest: an arbitrarily nested structure or a scalar object.
- Note, numpy arrays are considered scalars.
-
-Returns:
- A Python list, the flattened version of the input.
-"""
%unignore tensorflow::swig::FlattenForData;
%noexception tensorflow::swig::FlattenForData;