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

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

function Sigmoid:updateOutput(input)
   return input.nn.Sigmoid_updateOutput(self, input)
end

function Sigmoid:updateGradInput(input, gradOutput)
   return input.nn.Sigmoid_updateGradInput(self, input, gradOutput)
end