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

Torch.NN.Recurrent.Cell.LSTM

Documentation

data LSTMSpec Source #

Constructors

LSTMSpec 

Fields

Instances

Instances details
Show LSTMSpec Source # 
Instance details

Defined in Torch.NN.Recurrent.Cell.LSTM

Eq LSTMSpec Source # 
Instance details

Defined in Torch.NN.Recurrent.Cell.LSTM

Randomizable LSTMSpec LSTMCell Source # 
Instance details

Defined in Torch.NN.Recurrent.Cell.LSTM

data LSTMCell Source #

Instances

Instances details
Generic LSTMCell Source # 
Instance details

Defined in Torch.NN.Recurrent.Cell.LSTM

Associated Types

type Rep LSTMCell 
Instance details

Defined in Torch.NN.Recurrent.Cell.LSTM

type Rep LSTMCell = D1 ('MetaData "LSTMCell" "Torch.NN.Recurrent.Cell.LSTM" "hasktorch-0.2.1.6-LDjqZXcNPYQAOVyrR3h8rq" 'False) (C1 ('MetaCons "LSTMCell" '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))))

Methods

from :: LSTMCell -> Rep LSTMCell x #

to :: Rep LSTMCell x -> LSTMCell #

Show LSTMCell Source # 
Instance details

Defined in Torch.NN.Recurrent.Cell.LSTM

Parameterized LSTMCell Source # 
Instance details

Defined in Torch.NN.Recurrent.Cell.LSTM

Randomizable LSTMSpec LSTMCell Source # 
Instance details

Defined in Torch.NN.Recurrent.Cell.LSTM

type Rep LSTMCell Source # 
Instance details

Defined in Torch.NN.Recurrent.Cell.LSTM

type Rep LSTMCell = D1 ('MetaData "LSTMCell" "Torch.NN.Recurrent.Cell.LSTM" "hasktorch-0.2.1.6-LDjqZXcNPYQAOVyrR3h8rq" 'False) (C1 ('MetaCons "LSTMCell" '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))))

lstmCellForward Source #

Arguments

:: LSTMCell

cell parameters

-> (Tensor, Tensor)

(hidden, cell)

-> Tensor

input

-> (Tensor, Tensor)

output (hidden, cell)