CollapseTensorExtension<T> extension

on

Methods

collapse({int axis = 0}) Tensor<T>
Returns a view with a single-element axis at axis removed.