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

Generalize Output => Tensor/TensorView convenience methods #383

Merged
merged 1 commit into from
Oct 15, 2024

Commits on Oct 15, 2024

  1. Generalize Output => Tensor/TensorView convenience methods

    Replace `Output::{into_int, into_float}` with generic `into_tensor` and
    `Output::{as_float_ref, as_int_ref}` with generic `as_tensor_view`.
    
    This adds support for u8/i8 tensors and other types as they are added in
    future.
    robertknight committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    6217458 View commit details
    Browse the repository at this point in the history