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-07-19 12:56:12 +0300
committerGitHub <noreply@github.com>2016-07-19 12:56:12 +0300
commit3427b3dc615264cb1d4b31cdd6923ab865ef53d3 (patch)
tree6a6b07fdc06dc1469426ea7b366308aa88de5aff
parent4044b86da5aa0988b0a0abe992814048ea54dd73 (diff)
parentf4af607191b4aa9d1cee70a7e9b7a278b2841bf7 (diff)
Merge pull request #221 from szagoruyko/fullconv-clearstate
clearState for SpatialFullConvolution
-rw-r--r--SpatialFullConvolution.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/SpatialFullConvolution.lua b/SpatialFullConvolution.lua
index 65fbb18..4aa3c11 100644
--- a/SpatialFullConvolution.lua
+++ b/SpatialFullConvolution.lua
@@ -409,3 +409,8 @@ function SpatialFullConvolution:write(f)
end
f:writeObject(var)
end
+
+function SpatialFullConvolution:clearState()
+ self:clearDesc()
+ return nn.Module.clearState(self)
+end