Tutorials
Advanced JAX Tutorials
Notes
Developer documentation
API documentation
jit
vmap
pmap
jax.numpy.
iterable
Check whether or not an object can be iterated over.
y (object) – Input object.
b – Return True if the object has an iterator method or is a sequence and False otherwise.
True
False
bool
Examples
>>> np.iterable([1, 2, 3]) True >>> np.iterable(2) False