jaxopt.tree_util.tree_zeros_like

jaxopt.tree_util.tree_zeros_like(tree_x)[source]

Creates an all-zero tree with the same structure as tree_x.