Skip to content

typing

Scalar JAX array annotations with explicit float, integer or complex dtypes.

FloatLike and ComplexLike also accept Python floats and complex numbers. Jaxtyping's Scalar and ScalarLike accept other dtypes, so they cannot replace these aliases.