jax.tree_util.tree_map_with_path#
- jax.tree_util.tree_map_with_path(f, tree, *rest, is_leaf=None)[source]#
Alias of
jax.tree.map_with_path()
.- Parameters:
f (Callable[..., Any])
tree (Any)
rest (Any)
is_leaf (Callable[[Any], bool] | None | None)
- Return type:
Any