Example #1
0
 /// <summary>
 /// </summary>
 public CTCLossDescriptor(CudaDNNContext context)
 {
     _handle = context.Handle;
     _desc   = new cudnnCTCLossDescriptor();
     res     = CudaDNNNativeMethods.cudnnCreateCTCLossDescriptor(ref _desc);
     Debug.Write("");//Line(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnCreateCTCLossDescriptor", res));
     if (res != cudnnStatus.Success)
     {
         throw new CudaDNNException(res);
     }
 }