Open MilesCranmer opened 9 months ago
Thanks to @j-thib for pointing this out, I didn't realize the SymPy maps were not built-in.
However this gets fairly complicated as we need to map sympy.Piecewise into torch/jax code.
sympy.Piecewise
TODO:
Piecewise
If you go to the files tab, you can click the + next to a line of code where you want to add it. Then click "suggest". Then I can add your code as a commit on the PR. If you can't figure it out no worries!
+
Thanks to @j-thib for pointing this out, I didn't realize the SymPy maps were not built-in.
However this gets fairly complicated as we need to map
sympy.Piecewise
into torch/jax code.TODO:
Piecewise
Piecewise