jax.numpy.fromfile#
- jax.numpy.fromfile(*args, **kwargs)[source]#
Unimplemented JAX wrapper for jnp.fromfile.
This function is left deliberately unimplemented because it may be non-pure and thus unsafe for use with JIT and other JAX transformations. Consider using
jnp.asarray(np.fromfile(...))
instead, although care should be taken ifnp.fromfile
is used within jax transformations because of its potential side-effect of consuming the file object; for more information see Common Gotchas: Pure Functions.