DeepDarkFantasy-0.2017.8.18: A DSL for creating neural network.

Safe HaskellSafe
LanguageHaskell2010

DDF.Meta.DiffWrapper

Documentation

type family FDiffType (a :: [*]) x Source #

Instances

type FDiffType ([] *) x Source # 
type FDiffType ([] *) x = x
type FDiffType ((:) * a as) x Source # 
type FDiffType ((:) * a as) x = DiffType a (FDiffType as x)

newtype DiffWrapper a x Source #

Constructors

DiffWrapper 

Fields

Instances

type DiffType v (DiffWrapper a x) Source # 
type DiffType v (DiffWrapper a x) = DiffWrapper ((:) * v a) x