cudnnCreateSpatialTransformerDescriptor() private méthode

private cudnnCreateSpatialTransformerDescriptor ( cudnnSpatialTransformerDescriptor &stDesc ) : cudnnStatus
stDesc cudnnSpatialTransformerDescriptor
Résultat cudnnStatus
Exemple #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="context"></param>
 public SpatialTransformerDescriptor(CudaDNNContext context)
 {
     _handle = context.Handle;
     _desc   = new cudnnSpatialTransformerDescriptor();
     res     = CudaDNNNativeMethods.cudnnCreateSpatialTransformerDescriptor(ref _desc);
     Debug.Write("");//Line(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnCreateSpatialTransformerDescriptor", res));
     if (res != cudnnStatus.Success)
     {
         throw new CudaDNNException(res);
     }
 }