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

Replace Tensor::buffer_mut #127

Merged
merged 1 commit into from
Jun 26, 2024
Merged

Replace Tensor::buffer_mut #127

merged 1 commit into from
Jun 26, 2024

Conversation

abrown
Copy link
Contributor

@abrown abrown commented Jun 25, 2024

This refactors the data accessor functions in Tensor to be more consistent with conventions elsewhere (e.g., get_). It also checks a bit more robustly whether the underlying pointer can in fact be casted to the type we expect.

This refactors the data accessor functions in `Tensor` to be more
consistent with conventions elsewhere (e.g., `get_`). It also checks a
bit more robustly whether the underlying pointer can in fact be casted
to the type we expect.
@abrown abrown closed this Jun 25, 2024
@abrown abrown reopened this Jun 25, 2024
@abrown abrown mentioned this pull request Jun 25, 2024
@abrown abrown enabled auto-merge (squash) June 25, 2024 23:15
Copy link
Contributor

@rahulchaphalkar rahulchaphalkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@abrown abrown merged commit 7a562f0 into intel:main Jun 26, 2024
30 checks passed
@abrown abrown deleted the refactor-tensor branch June 26, 2024 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants