-
Notifications
You must be signed in to change notification settings - Fork 2
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
Implement permute_dims #12
Implement permute_dims #12
Conversation
AllanZyne
commented
Aug 4, 2024
•
edited
Loading
edited
- very low efficient implementation in distributed mode (algorithm need to improve in the future)
- fix some build warnings
- support building & running sharpy using imex build directory directly (without deploy, occupy too many disk space)
75aed16
to
77f5ba0
Compare
77f5ba0
to
e4895f0
Compare
Very nice! |
Hi @tkarna, I have updated the transpose.py, please check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thank you!
examples/transpose.py
Outdated
|
||
def sp_transpose(arr): | ||
brr = sharpy.permute_dims(arr, [1, 0]) | ||
sharpy.sync() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need a sync here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yey!