3 ms·
I think so: https://numpy.org/devdocs/reference/typing.html https://numpy.org/devdocs/reference/typing.html Which is cool, even strongly typed languages don't
by rjh29 4y ago
I think so:
https://numpy.org/devdocs/reference/typing.html https://numpy.org/devdocs/reference/typing.html
Which is cool, even strongly typed languages don't usually support that.
- rowanG077 4y agoThere is no example there that show that. I mean something like np.ndarray[1024, 1024, 1024, type=Int] which would mean a 3D array where each dimensions has 1024 elements. Basically all statically typed language support it. Even in C you can do it.