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

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

function SoftPlus:updateOutput(input)
   return input.nn.SoftPlus_updateOutput(self, input)
end

function SoftPlus:updateGradInput(input, gradOutput)
   return input.nn.SoftPlus_updateGradInput(self, input, gradOutput)
end