Skip to content
Discussion options

You must be logged in to vote

To support this, I did exactly what I indicated with my question -- flatten/unflatten across bind boundaries.

A simple idiom: attach the tree_form from jax.tree_util.tree_flatten as metadata to the primitive (as a keyword argument to bind).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by femtomc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant