hasktorch-0.2.1.1: Haskell bindings to libtorch, supporting both typed and untyped tensors.
Safe HaskellSafe-Inferred
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 #

lstmCellForward Source #

Arguments

:: LSTMCell

cell parameters

-> (Tensor, Tensor)

(hidden, cell)

-> Tensor

input

-> (Tensor, Tensor)

output (hidden, cell)