Added jaxtyping.Array=jnp.ndarray

This commit is contained in:
Patrick Kidger
2022-08-30 12:56:47 -07:00
parent 903000f3d5
commit 48e8131247
4 changed files with 27 additions and 29 deletions
+1 -4
View File
@@ -21,14 +21,11 @@ import jax.numpy as jnp
import jax.random as jr
import pytest
from jaxtyping import f32, Float, jaxtyped, Shaped
from jaxtyping import Array, f32, Float, jaxtyped, Shaped
from .helpers import ParamError, ReturnError
Array = jnp.ndarray
def test_basic(typecheck):
@jaxtyped
@typecheck