Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6 7 8 9
local Tanh = torch.class('nn.Tanh', 'nn.Module') function Tanh:updateOutput(input) return input.nn.Tanh_updateOutput(self, input) end function Tanh:updateGradInput(input, gradOutput) return input.nn.Tanh_updateGradInput(self, input, gradOutput) end