1
0
mirror of https://github.com/ROCm/jax.git synced 2025-04-19 13:26:06 +00:00
rocm_jax/docs/jax.tree_util.rst

49 lines
801 B
ReStructuredText
Raw Permalink Normal View History

2023-01-18 10:59:42 -08:00
``jax.tree_util`` module
========================
2019-05-14 21:00:27 -04:00
2021-04-08 15:59:55 -07:00
.. currentmodule:: jax.tree_util
2019-05-14 21:00:27 -04:00
.. automodule:: jax.tree_util
2021-04-08 15:59:55 -07:00
List of Functions
-----------------
.. autosummary::
:toctree: _autosummary
Partial
all_leaves
build_tree
register_dataclass
2021-04-08 15:59:55 -07:00
register_pytree_node
register_pytree_node_class
register_pytree_with_keys
register_pytree_with_keys_class
2024-05-20 19:56:47 -07:00
register_static
2024-06-12 14:01:27 -07:00
tree_flatten_with_path
tree_leaves_with_path
tree_map_with_path
treedef_children
treedef_is_leaf
treedef_tuple
KeyEntry
KeyPath
2024-06-12 14:01:27 -07:00
keystr
Legacy APIs
-----------
These APIs are now accessed via :mod:`jax.tree`.
.. autosummary::
:toctree: _autosummary
2021-04-08 15:59:55 -07:00
tree_all
tree_flatten
tree_leaves
tree_map
tree_reduce
tree_structure
tree_transpose
tree_unflatten
2019-05-14 21:00:27 -04:00