Safe Haskell | None |
---|---|
Language | Haskell2010 |
- class Optimizer (opt :: * -> [KV *] -> *) where
- type OptArgsList opt :: [KV *]
- type OptArgsCst opt args = (ShowKV args, MatchKVList args (OptArgsList opt))
- data SGD dtype args
- data ADAM dtype args
Documentation
class Optimizer (opt :: * -> [KV *] -> *) where Source #
Abstract Optimizer type class
type OptArgsList opt :: [KV *] Source #
Specific constraints of the optimizer
type OptArgsCst opt args = (ShowKV args, MatchKVList args (OptArgsList opt)) Source #
Constraint of using an optimizer