Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize copying of non-contiguous tensors with 5+ dimensions #409

Merged
merged 1 commit into from
Nov 15, 2024

Commits on Nov 15, 2024

  1. 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.
    robertknight committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    bf73c6f View commit details
    Browse the repository at this point in the history