Generates a MultiDeviceIterator resource from its provided string handle.
tf.raw_ops.MultiDeviceIteratorFromStringHandle( string_handle, output_types=[], output_shapes=[], name=None )
Args | |
---|---|
string_handle | A Tensor of type string . String representing the resource. |
output_types | An optional list of tf.DTypes . Defaults to [] . The type list for the return values. |
output_shapes | An optional list of shapes (each a tf.TensorShape or list of ints ). Defaults to [] . The list of shapes being produced. |
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.3/api_docs/python/tf/raw_ops/MultiDeviceIteratorFromStringHandle