On this page
tf.raw_ops.MultiDeviceIterator
Creates a MultiDeviceIterator resource.
tf.raw_ops.MultiDeviceIterator(
    devices, shared_name, container, output_types, output_shapes, name=None
)
  | Args | |
|---|---|
devices | 
      A list of strings that has length >= 1. A list of devices the iterator works across. | 
     
shared_name | 
      A string. If non-empty, this resource will be shared under the given name across multiple sessions. | 
     
container | 
      A string. If non-empty, this resource is placed in the given container. Otherwise, a default container is used. | 
     
output_types | 
      A list of tf.DTypes that has length >= 1. The type list for the return values. | 
     
output_shapes | 
      A list of shapes (each a tf.TensorShape or list of ints) that has length >= 1. 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/MultiDeviceIterator