Missed TensorFlow World? Check out the recap. Learn more

tf.contrib.tpu.infeed_dequeue_tuple

View source on GitHub

A placeholder op for values fed into the TPU simultaneously as a tuple.

tf.contrib.tpu.infeed_dequeue_tuple(
    dtypes,
    shapes,
    name=None
)

Args:

  • dtypes: A list of tf.DTypes that has length >= 1. The element types of each element in outputs.
  • shapes: A list of shapes (each a tf.TensorShape or list of ints). The shapes of each tensor in outputs.
  • name: A name for the operation (optional).

Returns:

A list of Tensor objects of type dtypes. A list of tensors that will be provided using the infeed mechanism.

Raises:

  • TypeError: If a type in 'dtypes` is not a supported infeed type.