You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JAX treedef contains more information. Therefore, their tree_unflatten function does not need an is_leaf argument. The same way we could make the registry argument unnecessary.
This is not just more convenient. It reduces error potential because the unflattening will automatically use the same options as the flattening.
To-Do
Come up with better Treedef (namedtuple or Class) and implement it
Adjust interface of tree_unflatten.
The text was updated successfully, but these errors were encountered:
Problem
The JAX treedef contains more information. Therefore, their
tree_unflatten
function does not need anis_leaf
argument. The same way we could make theregistry
argument unnecessary.This is not just more convenient. It reduces error potential because the unflattening will automatically use the same options as the flattening.
To-Do
tree_unflatten
.The text was updated successfully, but these errors were encountered: