Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize copying of non-contiguous tensors with 5+ dimensions
Improve code path for tensors with 5+ dimensions in `TensorBase::init_from`. Instead of falling back to slow iteration via `TensorBase::iter`, iterate over inner views of 4 dims and use the faster code path that handles this.
- Loading branch information