We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc09260 commit 21993eeCopy full SHA for 21993ee
train-face-detector/train.lua
@@ -31,7 +31,7 @@ function nilling(module)
31
if module.finput then module.finput = torch.Tensor() end
32
module.gradWeight = nil
33
module.output = torch.Tensor()
34
- module.fgradInput = nil
+ if module.fgradInput then module.fgradInput = torch.Tensor() end
35
module.gradInput = nil
36
end
37
0 commit comments