Welcome to mirror list, hosted at ThFree Co, Russian Federation.

LSTM.lua - github.com/soumith/cudnn.torch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 69b3322c54d0d0583c0ff80db3fe386791bdd154 (plain)
1
2
3
4
5
6
7
local LSTM, parent = torch.class('cudnn.LSTM', 'cudnn.RNN')

function LSTM:__init(inputSize, hiddenSize, numLayers, batchFirst, dropout, rememberStates)
    parent.__init(self,inputSize, hiddenSize, numLayers, batchFirst, dropout, rememberStates)
    self.mode = 'CUDNN_LSTM'
    self:reset()
end