Utility to get ArraySpec for given JAX array.
(jax_array)
| 31 | |
| 32 | |
| 33 | def get_spec_for_array(jax_array): |
| 34 | """Utility to get ArraySpec for given JAX array.""" |
| 35 | |
| 36 | return ArraySpec(shape=jax_array.shape, dtype=jax_array.dtype) |
| 37 | |
| 38 | |
| 39 | class DALIGenericPeekableIterator(DALIGenericIterator): |
no outgoing calls
no test coverage detected