public void Dispose() { if (layerPoolingOutput != null) { layerPoolingOutput.Dispose(); } if (layerMaxPooling_Index != null) { layerMaxPooling_Index.Dispose(); } if (weightDeriv != null) { weightDeriv.Dispose(); } if (biasDeriv != null) { biasDeriv.Dispose(); } if (weightUpdate != null) { weightUpdate.Dispose(); } if (biasUpdate != null) { biasUpdate.Dispose(); } }
public void Dispose() { sample_Idx.Dispose(); seg_Idx.Dispose(); seg_Margin.Dispose(); seg_Len.Dispose(); fea_Idx.Dispose(); fea_Value.Dispose(); }
public override void Dispose() { alphaCudaPiece.Dispose(); distCudaPiece.Dispose(); GPU_negative_index_Array.Dispose(); GPU_Inver_negative_index_Array.Dispose(); GPU_Inver_negative_value_Array.Dispose(); PairStream.Dispose(); if (ParameterSetting.ISVALIDATE) { PairValidStream.Dispose(); } }