v0.10.1
JAX v0.10.1
Added 9
- Added ResizeMethod.AREA to jax.image.resize, which matches TensorFlow's AREA resizing
- Added jax.scipy.linalg.hadamard for constructing Hadamard matrices
- Added jax.scipy.linalg.circulant for constructing circulant matrices
- Added jax.scipy.linalg.dft for constructing discrete Fourier transform matrices
- Added jax.scipy.linalg.leslie for constructing Leslie matrices
- Added jax.scipy.linalg.companion for constructing companion matrices from polynomial coefficients
- Added jax.scipy.linalg.fiedler for constructing symmetric Fiedler matrices
- Added jax.scipy.linalg.helmert for constructing Helmert matrices
- Added jax.random.key_dtype to get the dtype corresponding to a PRNG implementation name
Changed 1
- jax.random.key and wrap_key_data now accept a dtype argument
Deprecated 3
- with mesh: context manager has been deprecated, use with jax.set_mesh(mesh): instead
- Passing the copy, order, and ndmin arguments to jax.numpy.array positionally is deprecated, use keyword arguments instead
- Python dict_values, generators, zip return type and iterators are deprecated by default when used as leaves in pytrees
-
New features
- Added
ResizeMethod.AREAtojax.image.resize, which matches TensorFlow's AREA resizing (#20098). - Added
jax.scipy.linalg.hadamardfor constructing Hadamard matrices (#10144). - Added
jax.scipy.linalg.circulantfor constructing circulant matrices (#10144). - Added
jax.scipy.linalg.dftfor constructing discrete Fourier transform matrices (#10144). - Added
jax.scipy.linalg.lesliefor constructing Leslie matrices (#10144). - Added
jax.scipy.linalg.companionfor constructing companion matrices from polynomial coefficients (#10144). - Added
jax.scipy.linalg.fiedlerfor constructing symmetric Fiedler matrices (#10144). - Added
jax.scipy.linalg.helmertfor constructing Helmert matrices (#10144). - Moved RNG APIs from "implementations" to dtypes (#27854):
- Added
jax.random.key_dtypeto get the dtype corresponding to a PRNG implementation name. jax.random.keyandwrap_key_datanow accept adtypeargument.
- Added
- Added
-
Breaking changes
with mesh:context manager has been deprecated. Please usewith jax.set_mesh(mesh):instead.
-
Deprecations
- Passing the
copy,order, andndminarguments tojax.numpy.arraypositionally is deprecated. Use keyword arguments instead. This matches the signature ofnumpy.array. - Python
dict_values, generators, zip return type and iterators generally are deprecated by default when used as leaves in pytrees. In a future version of JAX, this will become an error, if you depend on using them as leaves, passis_leaftojax.tree.*methods.
- Passing the