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

Adding permute_axes method for Tensor2D, Tensor3D, Tensor4D #169

Merged
merged 6 commits into from
Aug 30, 2022

Conversation

coreylowman
Copy link
Owner

Closes #108

Summary:

  • Adds DevicePermute[2,3,4]
  • Adds Permute[2,3,4]d (not exported)
  • Adds Permute[2,3,4]dSugar

macro implementation used as opposed to nightly const generic version due to complexity (i.e. nightly const generic version was actually more complicated).

@codecov-commenter
Copy link

Codecov Report

Merging #169 (92b169c) into main (2d42a8e) will increase coverage by 0.20%.
The diff coverage is 99.31%.

@@            Coverage Diff             @@
##             main     #169      +/-   ##
==========================================
+ Coverage   93.42%   93.62%   +0.20%     
==========================================
  Files          79       81       +2     
  Lines        4043     4190     +147     
==========================================
+ Hits         3777     3923     +146     
- Misses        266      267       +1     
Impacted Files Coverage Δ
src/devices/mod.rs 90.00% <ø> (ø)
src/devices/permute.rs 98.70% <98.70%> (ø)
src/tensor_ops/permute.rs 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@coreylowman coreylowman merged commit 85b649e into main Aug 30, 2022
@coreylowman coreylowman deleted the 108-permute branch August 30, 2022 12: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.

Add transpose/permute_axes operation
2 participants