Repository navigation
einops.rearrange optimization #404
Abhay-Sastha-S
started this conversation in
Ideas
Replies: 1 comment
|
i was able to see upto 20% increase in speed with the current setup and even upto 2x the speed in certain instances |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
hi, i was given a task to recreate the rearrange function from scratch.
below is my implementation of it, would love to get your feedback and how if these changes are useful, id love some input on how i can make it pull-request ready. (this might be my first open-source contrib)
https://colab.research.google.com/drive/1OAv40bgE8UMgWuL7icQXmGB9Xhly3EVb#scrollTo=oKlKtr3Q_jsq
above the colab link to my notebook.
please give it a try. and lemme know if you have any feedbacks or suggestions.
NOTE:
the task was limited to implementation for numpy
All reactions