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:
authorSergey Zagoruyko <zagoruyko2@gmail.com>2016-04-08 12:51:30 +0300
committerSergey Zagoruyko <zagoruyko2@gmail.com>2016-04-08 12:51:30 +0300
commit8263517e485cacec8e82bc1208eee4479049e396 (patch)
treec400a1e9999618dcfca215e480ffd78fbc57194c /VolumetricConvolution.lua
parent728d477c7ff1abdbb39e5f4c07b4dcb04604ed40 (diff)
use nn.utils.clear
Diffstat (limited to 'VolumetricConvolution.lua')
-rw-r--r--VolumetricConvolution.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/VolumetricConvolution.lua b/VolumetricConvolution.lua
index 1f8025c..6ec3302 100644
--- a/VolumetricConvolution.lua
+++ b/VolumetricConvolution.lua
@@ -307,8 +307,6 @@ end
function VolumetricConvolution:clearState()
self:clearDesc()
- nn.utils.clear(self, 'extraBuffer')
- self._gradOutput = nil
- self._input = nil
+ nn.utils.clear(self, 'extraBuffer', '_input', '_gradOutput')
return nn.Module.clearState(self)
end