cudnnCreateDropoutDescriptor() private méthode

private cudnnCreateDropoutDescriptor ( cudnnDropoutDescriptor &dropoutDesc ) : cudnnStatus
dropoutDesc cudnnDropoutDescriptor
Résultat cudnnStatus
Exemple #1
0
 /// <summary>
 /// </summary>
 public DropoutDescriptor(CudaDNNContext context)
 {
     _handle = context.Handle;
     _desc   = new cudnnDropoutDescriptor();
     res     = CudaDNNNativeMethods.cudnnCreateDropoutDescriptor(ref _desc);
     Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnCreateDropoutDescriptor", res));
     if (res != cudnnStatus.Success)
     {
         throw new CudaDNNException(res);
     }
 }