# tf.raw_ops.FIFOQueue

<br />

A queue that produces elements in first-in first-out order.

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.raw_ops.FIFOQueue`](https://www.tensorflow.org/api_docs/python/tf/raw_ops/FIFOQueue)

<br />

    tf.raw_ops.FIFOQueue(
        component_types,
        shapes=[],
        capacity=-1,
        container='',
        shared_name='',
        name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `component_types` | A list of `tf.DTypes` that has length `>= 1`. The type of each component in a value. |
| `shapes` | An optional list of shapes (each a [`tf.TensorShape`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/TensorShape) or list of `ints`). Defaults to `[]`. The shape of each component in a value. The length of this attr must be either 0 or the same as the length of component_types. If the length of this attr is 0, the shapes of queue elements are not constrained, and only one element may be dequeued at a time. |
| `capacity` | An optional `int`. Defaults to `-1`. The upper bound on the number of elements in this queue. Negative numbers mean no limit. |
| `container` | An optional `string`. Defaults to `""`. If non-empty, this queue is placed in the given container. Otherwise, a default container is used. |
| `shared_name` | An optional `string`. Defaults to `""`. If non-empty, this queue will be shared under the given name across multiple sessions. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type mutable `string`. ||

<br />