diff options
Diffstat (limited to 'VolumetricAveragePooling.lua')
-rw-r--r-- | VolumetricAveragePooling.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/VolumetricAveragePooling.lua b/VolumetricAveragePooling.lua index 8b5c6d5..f5adcd0 100644 --- a/VolumetricAveragePooling.lua +++ b/VolumetricAveragePooling.lua @@ -38,8 +38,5 @@ function VolumetricAveragePooling:updateGradInput(input, gradOutput) end function VolumetricAveragePooling:empty() - self.gradInput:resize() - self.gradInput:storage():resize(0) - self.output:resize() - self.output:storage():resize(0) + return parent.clearState(self) end |