downhill 0.2.0.0 → 0.3.0.0
raw patch · 5 files changed
+8/−4 lines, 5 filesdep ~basedep ~template-haskelldep ~transformersPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, template-haskell, transformers
API changes (from Hackage documentation)
- Downhill.Grad: instance Downhill.Grad.Dual GHC.Integer.Type.Integer GHC.Integer.Type.Integer
- Downhill.Grad: instance Downhill.Grad.HasGrad GHC.Integer.Type.Integer
- Downhill.Grad: type family Grad p :: Type;
- Downhill.Linear.Expr: instance Downhill.Linear.Expr.BasicVector GHC.Integer.Type.Integer
- Downhill.Linear.Expr: type family VecBuilder v :: Type;
- Downhill.Metric: instance Downhill.Metric.MetricTensor GHC.Integer.Type.Integer GHC.Integer.Type.Integer
+ Downhill.Grad: instance Downhill.Grad.Dual GHC.Num.Integer.Integer GHC.Num.Integer.Integer
+ Downhill.Grad: instance Downhill.Grad.HasGrad GHC.Num.Integer.Integer
+ Downhill.Grad: type Grad p :: Type;
+ Downhill.Grad: type Tang p :: Type;
+ Downhill.Linear.Expr: instance Downhill.Linear.Expr.BasicVector GHC.Num.Integer.Integer
+ Downhill.Linear.Expr: type VecBuilder v :: Type;
+ Downhill.Metric: instance Downhill.Metric.MetricTensor GHC.Num.Integer.Integer GHC.Num.Integer.Integer
Files
- downhill.cabal +4/−4
- src/Downhill/BVar/Traversable.hs +1/−0
- src/Downhill/Linear/BackGrad.hs +1/−0
- src/Downhill/Metric.hs +1/−0
- test/DownhillTest/Bilinear.hs +1/−0
downhill.cabal view
@@ -1,7 +1,7 @@ cabal-version: 2.4 name: downhill-version: 0.2.0.0+version: 0.3.0.0 synopsis: Reverse mode automatic differentiation homepage: https://andriusstank.github.io/downhill/ description:@@ -36,11 +36,11 @@ Downhill.Metric -- other-modules: -- other-extensions:- build-depends: base >= 4.12.0.0 && <4.17,+ build-depends: base >= 4.12.0.0 && <4.18, containers >= 0.6.5 && < 0.7, reflection >= 2.1.6 && < 2.2,- template-haskell >= 2.16.0 && < 2.19,- transformers >= 0.5.6 && < 0.6,+ template-haskell >= 2.16.0 && < 2.20,+ transformers >= 0.5.6 && < 0.7, th-abstraction >= 0.4.3 && < 0.5, unordered-containers >= 0.2.14 && < 0.3, vector-space >= 0.16 && < 0.17,
src/Downhill/BVar/Traversable.hs view
@@ -10,6 +10,7 @@ {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE UndecidableInstances #-} {-# LANGUAGE TypeApplications #-}+{-# LANGUAGE TypeOperators #-} -- | Easy backpropagation when all variables have the same type. --
src/Downhill/Linear/BackGrad.hs view
@@ -4,6 +4,7 @@ {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE UndecidableInstances #-}+{-# LANGUAGE TypeOperators #-} module Downhill.Linear.BackGrad ( BackGrad (..),
src/Downhill/Metric.hs view
@@ -6,6 +6,7 @@ {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE UndecidableInstances #-}+{-# LANGUAGE TypeOperators #-} module Downhill.Metric ( MetricTensor (..)
test/DownhillTest/Bilinear.hs view
@@ -9,6 +9,7 @@ {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE TypeOperators #-} module DownhillTest.Bilinear where