jax.tree_util.tree_leaves# jax.tree_util.tree_leaves(tree, is_leaf=None)[源代码]# 别名 jax.tree.leaves()。 参数: tree (Any) is_leaf (Callable[[Any], bool] | None) 返回类型: list[Leaf]