class_docstr: Type specification for `OwnedMultiDeviceIterator`.
class_docstr_tok: ["Type","specification","for","`","OwnedMultiDeviceIterator","`","."]
code: def _component_specs(self):
      specs = [
          tensor_spec.TensorSpec([], dtypes.resource),
      ]
      for _ in range(len(self._devices)):
          specs.append(iterator_ops.IteratorSpec(self._element_spec))
      return specs
  
imports: from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import iterator_ops
  from tensorflow.python.data.ops import options
  from tensorflow.python.data.ops import prefetch_op
  from tensorflow.python.data.util import structure
  from tensorflow.python.eager import context
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import composite_tensor
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.framework import type_spec
  from tensorflow.python.framework import type_utils
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import functional_ops
  from tensorflow.python.ops import gen_dataset_ops
  from tensorflow.python.ops import resource_variable_ops
label_desc: Use image node_id 4 for calling the MultiDeviceIteratorSpec obj's underlying member method code with example usage: obj._component_specs() and returns: specs