JAX custom_jvp with ‘None’ output leads to TypeError
I try to define a function whose jvp is only defined for selected output(s). Below is a simple example:
I try to define a function whose jvp is only defined for selected output(s). Below is a simple example: