Remove jax.util.partial.

This commit is contained in:
Peter Hawkins 2021-09-20 20:32:49 -04:00
parent 9a5cf7c81e
commit 58c7ee46bc
2 changed files with 3 additions and 4 deletions

View File

@ -15,9 +15,9 @@ PLEASE REMEMBER TO CHANGE THE '..main' WITH AN ACTUAL TAG in GITHUB LINK.
* `jax.api` has been removed. Functions that were available as `jax.api.*`
were aliases for functions in `jax.*`; please use the functions in
`jax.*` instead.
* `jax.partial` and `jax.lax.partial` were accidental exports that have now
been removed. Use `functools.partial` from the Python standard library
instead.
* `jax.partial`, `jax.lax.partial`, and `jax.util.partial` were accidental
exports that have now been removed. Use `functools.partial` from the Python
standard library instead.
* Boolean scalar indices now raise a `TypeError`; previously this silently
returned wrong results ({jax-issue}`#7925`).
* Many more `jax.numpy` functions now require array-like inputs, and will error

View File

@ -18,7 +18,6 @@ from jax._src.util import (
HashableFunction as HashableFunction,
as_hashable_function as as_hashable_function,
cache as cache,
partial as partial,
safe_map as safe_map,
safe_zip as safe_zip,
split_dict as split_dict,