jax.tree_util.tree_map

目录

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