Settings

Theme

Show HN: KlongPy array language now supports autograd

klongpy.org

1 points by eismcc 2 months ago · 0 comments · 1 min read

Reader

Hello HN!

I had some free time so I have been upgrading KlongPy.

KlongPy now supports PyTorch as a backend and autograd over the array language.

A while back someone on HN thought it would be cool to have Klong support autograd and I also thought that would be cool.

There's a lot of examples in https://github.com/briangu/klongpy/tree/main/examples/autogr...

but here's a taste:

f::{x^2} :" Define f(x) = x^2 f:>3 :" Compute f'(3) = 6.0

Looking for feedback on new operators and any obvious gaps. Thanks!

updated github pages: https://klongpy.org repo: https://github.com/briangu/klongpy

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection