hasktorch-0.2.1.6: Haskell bindings to libtorch, supporting both typed and untyped tensors.
Safe HaskellNone
LanguageHaskell2010

Torch.NN.Recurrent.Cell.Elman

Documentation

data ElmanSpec Source #

Constructors

ElmanSpec 

Fields

Instances

Instances details
Show ElmanSpec Source # 
Instance details

Defined in Torch.NN.Recurrent.Cell.Elman

Eq ElmanSpec Source # 
Instance details

Defined in Torch.NN.Recurrent.Cell.Elman

Randomizable ElmanSpec ElmanCell Source # 
Instance details

Defined in Torch.NN.Recurrent.Cell.Elman

data ElmanCell Source #

Instances

Instances details
Generic ElmanCell Source # 
Instance details

Defined in Torch.NN.Recurrent.Cell.Elman

Associated Types

type Rep ElmanCell 
Instance details

Defined in Torch.NN.Recurrent.Cell.Elman

type Rep ElmanCell = D1 ('MetaData "ElmanCell" "Torch.NN.Recurrent.Cell.Elman" "hasktorch-0.2.1.6-LDjqZXcNPYQAOVyrR3h8rq" 'False) (C1 ('MetaCons "ElmanCell" 'PrefixI 'True) ((S1 ('MetaSel ('Just "weightsIH") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Parameter) :*: S1 ('MetaSel ('Just "weightsHH") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Parameter)) :*: (S1 ('MetaSel ('Just "biasIH") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Parameter) :*: S1 ('MetaSel ('Just "biasHH") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Parameter))))
Show ElmanCell Source # 
Instance details

Defined in Torch.NN.Recurrent.Cell.Elman

Parameterized ElmanCell Source # 
Instance details

Defined in Torch.NN.Recurrent.Cell.Elman

Randomizable ElmanSpec ElmanCell Source # 
Instance details

Defined in Torch.NN.Recurrent.Cell.Elman

type Rep ElmanCell Source # 
Instance details

Defined in Torch.NN.Recurrent.Cell.Elman

type Rep ElmanCell = D1 ('MetaData "ElmanCell" "Torch.NN.Recurrent.Cell.Elman" "hasktorch-0.2.1.6-LDjqZXcNPYQAOVyrR3h8rq" 'False) (C1 ('MetaCons "ElmanCell" 'PrefixI 'True) ((S1 ('MetaSel ('Just "weightsIH") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Parameter) :*: S1 ('MetaSel ('Just "weightsHH") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Parameter)) :*: (S1 ('MetaSel ('Just "biasIH") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Parameter) :*: S1 ('MetaSel ('Just "biasHH") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Parameter))))

elmanCellForward Source #

Arguments

:: ElmanCell

cell parameters

-> Tensor

input

-> Tensor

hidden

-> Tensor

output