Method Transpose
Transpose(int[])
Creates a new iterator by transposing this iterator using the given permutations.
Declaration
public TensorNDIterator Transpose(int[] permutations)
Parameters
| Type | Name | Description |
|---|---|---|
| int[] | permutations | The permutation array. |
Returns
| Type | Description |
|---|---|
| TensorNDIterator | The transposed iterator. |
Transpose()
Creates a new iterator by transposing this iterator reversing the axes.
Declaration
public TensorNDIterator Transpose()
Returns
| Type | Description |
|---|---|
| TensorNDIterator | The transposed iterator. |