Method Split
Split<T>(T, int, int, int)
Calculates an output tensor by splitting the input tensor along a given axis between start and end.
Declaration
public T Split<T>(T X, int axis, int start = 0, int end = 2147483647) where T : Tensor
Parameters
| Type | Name | Description |
|---|---|---|
| T | X | The input tensor. |
| int | axis | The axis along which to split the input tensor. |
| int | start | The inclusive start value for the split. |
| int | end | The exclusive end value for the split. |
Returns
| Type | Description |
|---|---|
| T | The computed output tensor. |
Type Parameters
| Name | Description |
|---|---|
| T | The tensor type of the input and output tensors. |