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

SoftMax.lua - github.com/soumith/cudnn.torch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b6d3ecaa2fc8d089ce29840b4cccca4fea9dc230 (plain)
1
2
3
4
5
6
local SoftMax, parent = torch.class('cudnn.SoftMax', 'cudnn.SpatialSoftMax')

function SoftMax:__init(fast)
   parent.__init(self, fast)
   self.mode = 'CUDNN_SOFTMAX_MODE_INSTANCE'
end