backprop icon indicating copy to clipboard operation
backprop copied to clipboard

Heterogeneous automatic differentiation ("backpropagation") in Haskell

Results 9 backprop issues
Sort by recently updated
recently updated
newest added

I think merging a couple of PRs and releasing would be enough to fix this. Thank you!

As @Mikolaj reported on https://github.com/mstksg/backprop/pull/19#issuecomment-1010063543 , the current `master` branch fails to compile on GHC 9.2 not only due to the simplified subsumption (#19) but also due to the removal...

GHC-9.0 failed to type-check the current implementation of `withVec` https://github.com/mstksg/backprop/blob/e8962c2029476c7721c5f5488e8689737294ceee/src/Data/Type/Util.hs#L70-L76 with the following error: ``` [ 1 of 10] Compiling Data.Type.Util /.../backprop/src/Data/Type/Util.hs:75:14: error: • Couldn't match type: VecT 'Z f0...

When dealing with vector-valued functions of vector inputs, e.g. `f :: V m -> V n`, I'd expect the gradient to be a `(n * m)` matrix, essentially of a...

I am trying to use this library with a third party C library, but I need to carry some additional context to perform the computations. My issue boils down to...

It would be nice if there were combinators for computing the Hessian matrix (second partial derivatives).

This looks fantastic! One (possibly) trivial question I have is: can this be used with `accelerate`? My Haskell got a little bit rusty - I can't tell for sure just...

We need `ToARec` class context to use `toARec` on `vinyl >= 0.14`. Unfortunately `vinyl-0.14.1` does not export the `ToARec` class (https://github.com/VinylRecords/Vinyl/issues/157), therefore we need to use `vinyl =0.14.2`.