Skip to content

In what situations should should "subfuns" be non-empty? #16351

Answered by jakevdp
davisyoshida asked this question in Q&A
Discussion options

You must be logged in to vote

This will basically only be non-empty for higher-order primitives, e.g. call primitives and custom jvp/vjp. If you search the JAX source code for classes that overload this method, you should be able to find all the primitives that return something non-trivial.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@davisyoshida
Comment options

Answer selected by davisyoshida
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants