Join Slack
Inspired by Facebook, I finally finished refactoring of <@UGB1USA2J>ās PR on generic autodiff in KMa...
# mathematics
a
altavir
07/16/2022, 8:34 AM
Inspired by Facebook, I finally finished refactoring of
@Iaroslav Postovalov
ās PR on generic autodiff in KMath. It is merged into
dev
and yes, it can work with tensors and allows custom operators:
https://github.com/mipt-npm/kmath/blob/dev/kmath-core/src/commonTest/kotlin/space/kscience/kmath/expressions/DerivativeStructureExpressionTest.kt
. Documentation is not ready yet, but any feedback would be welcome. The difference from Facebook implementation is that operations themselves (including performance optimization) are decoupled from the autodiff algorithm. So you can for example use Multik native implementation with the autodif engine.
š 2
6
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by