# tf.raw_ops.PrelinearizeTuple

<br />

An op which linearizes multiple Tensor values to an opaque variant tensor.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.PrelinearizeTuple(
        inputs, shapes, layouts=[], name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `inputs` | A list of `Tensor` objects. A list of tensors that will be provided using the infeed mechanism. |
| `shapes` | A list of shapes (each a [`tf.TensorShape`](https://www.tensorflow.org/versions/r2.13/api_docs/python/tf/TensorShape) or list of `ints`). The shapes of each tensor in `inputs`. |
| `layouts` | An optional list of `ints`. Defaults to `[]`. A vector holding the requested layout in minor-to-major sequence for all the tuple shapes in the order the shapes appear in the "shapes" input. The layout elements for a sub-shape can be set to -1 in which case the corresponding layout will be computed by the infeed operation. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor` of type `variant`. ||

<br />