§
    Vp«f  ã                   óŠ   — d Z ddlmZmZmZmZmZmZmZm	Z	m
Z
mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ dS )a  Utilities for working with tree-like container data structures.

This module provides a small set of utility functions for working with tree-like
data structures, such as nested tuples, lists, and dicts. We call these
structures pytrees. They are trees in that they are defined recursively (any
non-pytree is a pytree, i.e. a leaf, and any pytree of pytrees is a pytree) and
can be operated on recursively (object identity equivalence is not preserved by
mapping operations, and the structures cannot contain reference cycles).

The set of Python types that are considered pytree nodes (e.g. that can be
mapped over, rather than treated as leaves) is extensible. There is a single
module-level registry of types, and class hierarchy is ignored. By registering a
new pytree node type, that type in effect becomes transparent to the utility
functions in this file.

The primary purpose of this module is to enable the interoperability between
user defined data structures and JAX transformations (e.g. `jit`). This is not
meant to be a general purpose tree-like data structure handling library.

See the `JAX pytrees note <pytrees.html>`_
for examples.
é    )ÚDictKeyÚFlattenedIndexKeyÚ
GetAttrKeyÚPartialÚ	PyTreeDefÚSequenceKeyÚ
all_leavesÚ
build_treeÚdefault_registryÚkeystrÚregister_pytree_node_classÚregister_pytree_nodeÚregister_pytree_with_keys_classÚregister_dataclassÚregister_pytree_with_keysÚregister_staticÚtree_allÚtree_flatten_with_pathÚtree_flattenÚtree_leaves_with_pathÚtree_leavesÚtree_map_with_pathÚtree_mapÚtree_reduceÚtree_structureÚtree_transposeÚtree_unflattenÚtreedef_childrenÚtreedef_is_leafÚtreedef_tupleN) Ú__doc__Újax._src.tree_utilr   r   r   r   r   r   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    © ó    úM/var/www/html/nettyfy-visnx/env/lib/python3.11/site-packages/jax/tree_util.pyú<module>r&      sY  ððð ð4ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð ð r$   