# tf.contrib.tpu.infeed_dequeue

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/tpu/ops/tpu_ops.py#L196-L216) |

A placeholder op for a value that will be fed into the computation.

    tf.contrib.tpu.infeed_dequeue(
        dtype, shape, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `dtype` | A [`tf.DType`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/dtypes/DType). The type of elements in the tensor. |
| `shape` | A [`tf.TensorShape`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/TensorShape) or list of `ints`. The shape of the tensor. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `dtype`. A tensor that will be provided using the infeed mechanism. ||

<br />

<br />

<br />

<br />

| ## Raises ||
|---|---|
| `TypeError` | If 'dtype\` is not a supported infeed type. |

<br />