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

github.com/soumith/cudnn.torch.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsoumith <soumith@gmail.com>2016-01-26 18:17:14 +0300
committersoumith <soumith@gmail.com>2016-01-26 18:17:14 +0300
commit0f2d96a6bb565a3e0cfd890d15d828808ebad39b (patch)
tree745e6c0da7bc2ea4647a977d755cebbc38bc18ac /Tanh.lua
parentae0c2e3d897aa5fa699530e25d026d7ba301965c (diff)
syncing uptil master/R3 9bc3cbac4f054438f5e77824f868cd94e9e22f81
Diffstat (limited to 'Tanh.lua')
-rw-r--r--Tanh.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/Tanh.lua b/Tanh.lua
index ac222e6..778feb5 100644
--- a/Tanh.lua
+++ b/Tanh.lua
@@ -1,10 +1,5 @@
local Tanh, parent = torch.class('cudnn.Tanh','cudnn._Pointwise')
-function Tanh:__init(inplace)
- parent.__init(self, inplace)
- self.mode = 'CUDNN_ACTIVATION_TANH'
-end
-
function Tanh:updateOutput(input)
if not self.mode then self.mode = 'CUDNN_ACTIVATION_TANH' end
return parent.updateOutput(self, input)