Hacker News new | ask | show | jobs
by billconan 3093 days ago
"working on compilers for imperative differentiable programming languages"

what would be an example of such language?

3 comments

BrainScript was one, though it seems deprecated ATM:

https://docs.microsoft.com/en-us/cognitive-toolkit/brainscri...

Compilers might not be involved, interpreters can work just as well if most of the heavy lifting is in the solving.

working with dynamic neural net libraries that have autodiff (PyTorch, regular Torch, and I think also MXNet now) feels a lot like this. you just write normal functions, but after you execute them you can ask for gradients too.