implement np.linspace and np.arange #543

Open
opened 2024-09-12 23:09:17 +08:00 by sb10q · 2 comments
Owner
No description provided.
mwojcik was assigned by sb10q 2024-09-13 12:07:52 +08:00
Member

Does it have to be very in line with the numpy specification?

e.g. not sure if I can return an NDArray of either ints or floats, depending on the arguments; linspace especially can return either NDArray or a tuple of (NDArray, step); few arguments (like device) don't make sense within this context either.

Does it have to be very in line with the numpy specification? e.g. not sure if I can return an NDArray of either ints or floats, depending on the arguments; linspace especially can return either NDArray or a tuple of (NDArray, step); few arguments (like ``device``) don't make sense within this context either.
Author
Owner
NAC3 supports generics and type variables. https://git.m-labs.hk/M-Labs/nac3/src/branch/master/nac3standalone/demo/src/typevar.py
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

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