tf.contrib.tpu.infeed_enqueue_tuple

tf.contrib.tpu.infeed_enqueue_tuple(
    inputs,
    shapes,
    device_ordinal=-1,
    name=None
)

Defined in generated file: tensorflow/contrib/tpu/ops/gen_tpu_ops.py.

An op which feeds multiple Tensor values into the computation as an XLA tuple.

Args:

  • inputs: A list of Tensor objects. A list of tensors that will be provided using the infeed mechanism.
  • shapes: A list of shapes (each a tf.TensorShape or list of ints). The shapes of each tensor in inputs.
  • device_ordinal: An optional int. Defaults to -1. The TPU device to use. This should be -1 when the Op is running on a TPU device, and >= 0 when the Op is running on the CPU device.
  • name: A name for the operation (optional).

Returns:

The created Operation.