"...git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "667939a2d327cc4db80fe4879f86c4f999dcb490"
[JAX] Replace uses of `jnp.array` in types with `jnp.ndarray`. (#26703)
`jnp.array` is a function, not a type: https://jax.readthedocs.io/en/latest/_autosummary/jax.numpy.array.html so it never makes sense to use `jnp.array` in a type annotation. Presumably the intent was to write `jnp.ndarray` aka `jax.Array`. Co-authored-by:Peter Hawkins <phawkins@google.com>
Showing
Please register or sign in to comment