| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| """The tree_utils sub-package.""" |
|
|
| from optax.tree_utils._casting import tree_cast |
| from optax.tree_utils._random import tree_random_like |
| from optax.tree_utils._state_utils import NamedTupleKey |
| from optax.tree_utils._state_utils import tree_get |
| from optax.tree_utils._state_utils import tree_get_all_with_path |
| from optax.tree_utils._state_utils import tree_map_params |
| from optax.tree_utils._state_utils import tree_set |
| from optax.tree_utils._tree_math import tree_add |
| from optax.tree_utils._tree_math import tree_add_scalar_mul |
| from optax.tree_utils._tree_math import tree_bias_correction |
| from optax.tree_utils._tree_math import tree_clip |
| from optax.tree_utils._tree_math import tree_div |
| from optax.tree_utils._tree_math import tree_full_like |
| from optax.tree_utils._tree_math import tree_l1_norm |
| from optax.tree_utils._tree_math import tree_l2_norm |
| from optax.tree_utils._tree_math import tree_mul |
| from optax.tree_utils._tree_math import tree_ones_like |
| from optax.tree_utils._tree_math import tree_scalar_mul |
| from optax.tree_utils._tree_math import tree_sub |
| from optax.tree_utils._tree_math import tree_sum |
| from optax.tree_utils._tree_math import tree_update_infinity_moment |
| from optax.tree_utils._tree_math import tree_update_moment |
| from optax.tree_utils._tree_math import tree_update_moment_per_elem_norm |
| from optax.tree_utils._tree_math import tree_vdot |
| from optax.tree_utils._tree_math import tree_zeros_like |
|
|