# tf.raw_ops.TPUPartitionedInputV2

<br />

An op that groups a list of partitioned inputs together. Supports ND sharding.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.TPUPartitionedInputV2(
        inputs, partition_dims, is_packed=False, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `inputs` | A list of at least 1 `Tensor` objects with the same type. A list of partitioned inputs which must have the same shape. |
| `partition_dims` | A list of `ints`. A list of integers describing how each dimension is partitioned. Emptiness indicates the inputs are replicated. |
| `is_packed` | An optional `bool`. Defaults to `False`. Indicates whether the input is a packed resource. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A `Tensor`. Has the same type as `inputs`. ||

<br />