jax.tree_util.tree_map#
- jax.tree_util.tree_map(f, tree, *rest, is_leaf=None)[源代码]#
别名
jax.tree.map()
。- 参数:
f (Callable[..., Any])
tree (Any)
rest (Any)
is_leaf (Callable[[Any], bool] | None)
- 返回类型:
Any
别名 jax.tree.map()
。
f (Callable[..., Any])
tree (Any)
rest (Any)
is_leaf (Callable[[Any], bool] | None)
Any