TransposeTensorExtension<T> extension

on

Methods

moveAxes(int source, int destination) Tensor<T>
Returns a view with axis source moved to destination.
swapAxes(int first, int second) Tensor<T>
Returns a view with axis first and second swapped.
transpose({List<int>? axes}) Tensor<T>
Returns a transposed view.