Returns a view with the elements along the given axis reversed.
Tensor<T> flip({int axis = 0}) => Tensor<T>.internal( type: type, layout: layout.flip(axis: axis), data: data);