tf.contrib.tpu.infeed_dequeue_tuple
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.DType s 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. |
© 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/r1.15/api_docs/python/tf/contrib/tpu/infeed_dequeue_tuple