- jax.numpy.fromfile(*args, **kwargs)#
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 if
np.fromfileis used within jax transformations because of its potential side-effect of consuming the file object; for more information see Common Gotchas: Pure Functions.