Method Axis
Axis(int)
Wraps axis to positive index between 0,rank (5,2,3,4) axis = -1 => axis_out = 3 axis = 1 => axis_out = 1
Declaration
public int Axis(int axis)
Parameters
Type | Name | Description |
---|---|---|
int | axis | The axis to wrap. |
Returns
Type | Description |
---|---|
int | The wrapped axis. |