ndstrides: [6] Implement np_reshape()
#516
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Blocks
Depends on
Reference: M-Labs/nac3#516
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "ndstrides-6-reshape"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reimplemented
np_reshape()
, in IRRT.np_reshape()
can reshape an ndarray without making a copy of the data, under certain conditions.NOTE: In NumPy,
np.reshape(<ndarray>)
may or may not make a copy depending on if a reshape is "possible". Currently, NAC3's criterion is by simply checkingNDArrayObject::is_c_contiguous()
to decide whether or not to make a copy by playing around with the ndarray stride values, this is certainly different from how NumPy works.ndstrides-6-reshapeto ndstrides: [6] Implement `np_reshape()`813dad4ed0
to09fec5efaf
09fec5efaf
to916a2b4993
Rebased.
916a2b4993
tof8c0e2c4dd
f8c0e2c4dd
to5427620f2e
5427620f2e
to35704e1812
35704e1812
to926e7e93a8
Checkout
From your project repository, check out a new branch and test the changes.