private cudnnCreateLRNDescriptor ( |
||
normDesc | ||
Résultat | cudnnStatus |
/// <summary> /// </summary> public LRNDescriptor(CudaDNNContext context) { _handle = context.Handle; _desc = new cudnnLRNDescriptor(); res = CudaDNNNativeMethods.cudnnCreateLRNDescriptor(ref _desc); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnCreateLRNDescriptor", res)); if (res != cudnnStatus.Success) { throw new CudaDNNException(res); } }