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

Clamp.lua - github.com/torch/nn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 36397a1579541f9222378ab483d9e23d2264567f (plain)
1
2
3
4
5
local Clamp, Parent = torch.class('nn.Clamp', 'nn.HardTanh')

function Clamp:__init(min_value, max_value)
   Parent.__init(self, min_value, max_value)
end