ndstrides: [5] Implement np_{identity,eye,shape,strides,size}
and ndarray.{fill.copy}
#515
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Blocks
Depends on
#516 ndstrides: [6] Implement `np_reshape()`
M-Labs/nac3
#514 ndstrides: [4] Implement `np_array()`
M-Labs/nac3
Reference: M-Labs/nac3#515
Loading…
Reference in New Issue
No description provided.
Delete Branch "ndstrides-5-miscfuncs"
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?
Implements some miscellaneous ndarray functions.
In particular, this PR introduces
np_shape
,np_strides
, andnp_size
. These were initially used for debugging but they have been implemented as real NAC3 functions anyway.Note that in NumPy,
np.strides()
is not an actual function, but<ndarray>.strides
is used instead.Other notes
On
np_size()
's function signature: Is the function signature correct? I have encountered issues where if I directly useself.primitives.ndarray
as the type fora
,self.primitives.ndarray
'sdtype
andndims
are substituted permanently. See commit "core/ndstrides: implement np_size()".6fb988a1e4
to50ab93c9cc
Rebased.
50ab93c9cc
tod2072d9248
d2072d9248
toe33f74b331
e33f74b331
toeed3a77073
eed3a77073
to068385e981
068385e981
toe6f454c7a9
e6f454c7a9
to2c1030d158
Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.