Torch.NN.Recurrent.Cell.LSTM
data LSTMSpec Source #
Constructors
Fields
Defined in Torch.NN.Recurrent.Cell.LSTM
Methods
showsPrec :: Int -> LSTMSpec -> ShowS #
show :: LSTMSpec -> String #
showList :: [LSTMSpec] -> ShowS #
(==) :: LSTMSpec -> LSTMSpec -> Bool #
(/=) :: LSTMSpec -> LSTMSpec -> Bool #
sample :: LSTMSpec -> IO LSTMCell Source #
data LSTMCell Source #
Associated Types
from :: LSTMCell -> Rep LSTMCell x #
to :: Rep LSTMCell x -> LSTMCell #
showsPrec :: Int -> LSTMCell -> ShowS #
show :: LSTMCell -> String #
showList :: [LSTMCell] -> ShowS #
flattenParameters :: LSTMCell -> [Parameter] Source #
_replaceParameters :: LSTMCell -> ParamStream LSTMCell Source #
lstmCellForward Source #
Arguments
cell parameters
(hidden, cell)
input
output (hidden, cell)