-
Notifications
You must be signed in to change notification settings - Fork 22
Closed
Description
When trying to fix #210 I am seeing a lot of casting code which can be distracting and really not important. What if we use something like
https://numpy.org/doc/stable/reference/typing.html#number-precision
or even
from jaxtyping import Array
from https://docs.kidger.site/jaxtyping/ (despite the name of the package we can just use it for NumPy)
JAX has a nice array convention, but I do not see this in NumPy (ArrayLike, yes but not purely Array), see https://jax.readthedocs.io/en/latest/jep/12049-type-annotations.html
Thoughts?
Metadata
Metadata
Assignees
Labels
No labels