moveAxes method

Tensor<T> moveAxes(
  1. int source,
  2. int destination
)

Returns a view with axis source moved to destination.

Implementation

Tensor<T> moveAxes(int source, int destination) => Tensor<T>.internal(
    type: type, layout: layout.moveAxes(source, destination), data: data);