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

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

function Exp:updateOutput(input)
   return input.nn.Exp_updateOutput(self, input)
end

function Exp:updateGradInput(input, gradOutput)
   return input.nn.Exp_updateGradInput(self, input, gradOutput)
end