File tree 1 file changed +6
-7
lines changed
src/ConvNetSharp.Volume.GPU/Single 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -244,18 +244,17 @@ protected virtual void Dispose(bool disposing)
244
244
if ( this . _isOwner )
245
245
{
246
246
this . DeviceBuffer ? . Dispose ( ) ;
247
+ this . ConvolutionBackwardFilterStorage ? . Dispose ( ) ;
248
+ this . ConvolutionBackwardStorage ? . Dispose ( ) ;
249
+ this . ConvolutionStorage ? . Dispose ( ) ;
250
+ this . ReductionStorage ? . Dispose ( ) ;
251
+ this . DropoutStorage ? . Dispose ( ) ;
252
+ this . DropoutStateStorage ? . Dispose ( ) ;
247
253
}
248
254
else
249
255
{
250
256
this . DeviceBuffer = null ;
251
257
}
252
-
253
- this . ConvolutionBackwardFilterStorage ? . Dispose ( ) ;
254
- this . ConvolutionBackwardStorage ? . Dispose ( ) ;
255
- this . ConvolutionStorage ? . Dispose ( ) ;
256
- this . ReductionStorage ? . Dispose ( ) ;
257
- this . DropoutStorage ? . Dispose ( ) ;
258
- this . DropoutStateStorage ? . Dispose ( ) ;
259
258
}
260
259
261
260
private static void FillWithZeroes ( IntPtr memoryStart , long size )
You can’t perform that action at this time.
0 commit comments