示例#1
0
 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();
     }
 }
示例#2
0
 public void Dispose()
 {
     sample_Idx.Dispose();
     seg_Idx.Dispose();
     seg_Margin.Dispose();
     seg_Len.Dispose();
     fea_Idx.Dispose();
     fea_Value.Dispose();
 }
示例#3
0
 public void Dispose()
 {
     if (output != null)
     {
         output.Dispose();
     }
     if (errorDeriv != null)
     {
         errorDeriv.Dispose();
     }
 }
示例#4
0
        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();
            }
        }
示例#5
0
 public void Dispose()
 {
     cuda_layer_Deriv_D.Dispose();
     cuda_layer_Deriv_Q.Dispose();
 }
示例#6
0
 public void Dispose()
 {
     weight.Dispose();
     bias.Dispose();
 }