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 | None)

返回类型:

Any