cudnnDestroyDropoutDescriptor() private méthode

private cudnnDestroyDropoutDescriptor ( cudnnDropoutDescriptor dropoutDesc ) : cudnnStatus
dropoutDesc cudnnDropoutDescriptor
Résultat cudnnStatus
Exemple #1
0
 /// <summary>
 /// For IDisposable
 /// </summary>
 /// <param name="fDisposing"></param>
 protected virtual void Dispose(bool fDisposing)
 {
     if (fDisposing && !disposed)
     {
         //Ignore if failing
         res = CudaDNNNativeMethods.cudnnDestroyDropoutDescriptor(_desc);
         Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnDestroyDropoutDescriptor", res));
         disposed = true;
     }
     if (!fDisposing && !disposed)
     {
         Debug.WriteLine(String.Format("ManagedCUDA not-disposed warning: {0}", this.GetType()));
     }
 }