Skip to content

What is the purpose of jax.tree_util.tree_all? #7169

Answered by jakevdp
NeilGirdhar asked this question in General
Discussion options

You must be logged in to vote

tree_all has been around since the initial commit of JAX on github: a30e858

Folks like @froystig & @mattjj may remember more context on this, but it appears it has always been basically a convenience routine used in testing. You're probably right that it might be cleaner to remove it from the public API at this point, since it's so rarely used and so easily implemented.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mattjj
Comment options

@NeilGirdhar
Comment options

Answer selected by NeilGirdhar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants