Converts the given string representing a handle to an iterator to a resource.
tf.raw_ops.IteratorFromStringHandle( string_handle, output_types=[], output_shapes=[], name=None )
Args | |
---|---|
string_handle | A Tensor of type string . A string representation of the given handle. |
output_types | An optional list of tf.DTypes . Defaults to [] . If specified, defines the type of each tuple component in an element produced by the resulting iterator. |
output_shapes | An optional list of shapes (each a tf.TensorShape or list of ints ). Defaults to [] . If specified, defines the shape of each tuple component in an element produced by the resulting iterator. |
name | A name for the operation (optional). |
Returns | |
---|---|
A Tensor of type resource . |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/raw_ops/IteratorFromStringHandle