Teg
Teg copied to clipboard
A differentiable programming language with an integration primitive that soundly handles interactions among the derivative, integral, and discontinuities.
Love this paper :-) first time trying the code. Here's my problem set up. E = ½ ∫₀¹ ([x
Hi, Thanks for open sourcing! I wonder is there an easy way to compile the program to CUDA kernels? It seems CUDA is not one of the backends supported by...
Hi! Thank you for your contribution! I downloaded the repo and I was trying to execute the `render_test.py` file. However, the `render_image` and `save_image` function imported from plot are not...
Boolean operator overrides are parsed incorrectly; currently you have to explicitly construct an And object to use it Here's an example unittest to see this ``` def test_bool_override(self): from teg.lang.integrable_program...
This could be slightly confusing to a new user TegVars currently are for variables that are integrated in a Teg expression at some point; Vars are for all other variables...
Quick temp shim to get c eval to differentiate between '
Future research direction in extending IfElse conditionals past affine expressions e.g. division, polynomials, piecewise affine, general black box functions
Warn users when taking a derivative of a discontinous function outside the context of an integral?
Currently the language ignores delta functions that come from derivatives that are not being pushed into an integral; possibly warn the user? Alternatively, a research direction is to make deltas...