# tf.raw_ops.Split

<br />

Splits a tensor into `num_split` tensors along one dimension.

#### View aliases


**Compat aliases for migration**

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

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

<br />

    tf.raw_ops.Split(
        axis, value, num_split, name=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `axis` | A `Tensor` of type `int32`. 0-D. The dimension along which to split. Must be in the range `[-rank(value), rank(value))`. |
| `value` | A `Tensor`. The tensor to split. |
| `num_split` | An `int` that is `>= 1`. The number of ways to split. Must evenly divide `value.shape[split_dim]`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A list of `num_split` `Tensor` objects with the same type as `value`. ||

<br />