ndstrides: [8] implement np_transpose() (with no axes argument) #518

Open
lyken wants to merge 1 commits from ndstrides-8-transpose into ndstrides-7-broadcasting
Collaborator

Reimplemented np_transpose().

  • np_transpose can now transpose an ndarray without making a copy of the data.

The logic for handling arbitrary <axes> is implemented in IRRT, but not in the typechecker and code generator yet. I am not sure how to implement optional arguments.

Reimplemented `np_transpose()`. - `np_transpose` can now transpose an ndarray without making a copy of the data. The logic for handling arbitrary `<axes>` is implemented in IRRT, but not in the typechecker and code generator yet. I am not sure how to implement optional arguments.
lyken added 1 commit 2024-08-28 14:04:52 +08:00
7a7a67b522
core/ndstrides: implement np_transpose() (no axes argument)
The IRRT implementation knows how to handle axes. But the argument is
not in NAC3 yet.
lyken added a new dependency 2024-08-28 14:08:14 +08:00
lyken added a new dependency 2024-08-28 14:12:27 +08:00
lyken force-pushed ndstrides-8-transpose from 7a7a67b522 to b9e837109b 2024-08-30 14:51:44 +08:00 Compare
Author
Collaborator

Rebased.

Rebased.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b ndstrides-8-transpose ndstrides-7-broadcasting
git pull origin ndstrides-8-transpose

Step 2:

Merge the changes and update on Gitea.
git checkout ndstrides-7-broadcasting
git merge --no-ff ndstrides-8-transpose
git push origin ndstrides-7-broadcasting
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: M-Labs/nac3#518
No description provided.