W3cubDocs

/TensorFlow Python

tf.contrib.tpu.infeed_dequeue_tuple

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

Defined in tensorflow/contrib/tpu/python/ops/tpu_ops.py.

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

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.

© 2018 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/api_docs/python/tf/contrib/tpu/infeed_dequeue_tuple