-
One line in the error Traceback stuck to me:
Any ideas what this happening? Are there any constraints on complex numbers or is it possible to have a kernel with 2 outputs? |
Beta Was this translation helpful? Give feedback.
Answered by
sharadmv
Mar 6, 2024
Replies: 1 comment 5 replies
-
I don't think this path is well trodden. My suggestion (for now) is to use separate inputs/outputs for complex values. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, so if you say
out_shape=(jax.ShapeDtypeStruct(...), jax.ShapeDtypeStruct(...))
, your kernel will be passed in two output references: