jax.tree_util.tree_map

内容

jax.tree_util.tree_map#

jax.tree_util.tree_map(f, tree, *rest, is_leaf=None)[source]#

jax.tree.map() 的别名。

参数:
  • f (Callable[..., Any])

  • tree (Any)

  • rest (Any)

  • is_leaf (Callable[[Any], bool] | None | None)

返回类型:

Any