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

LogSoftMax.lua - github.com/torch/nn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8d2947e074253aab341e449aed6805ec09f9d0d6 (plain)
1
2
3
4
5
6
7
8
9
local LogSoftMax = torch.class('nn.LogSoftMax', 'nn.Module')

function LogSoftMax:updateOutput(input)
   return input.nn.LogSoftMax_updateOutput(self, input)
end

function LogSoftMax:updateGradInput(input, gradOutput)
   return input.nn.LogSoftMax_updateGradInput(self, input, gradOutput)
end