private cudnnCreatePoolingDescriptor ( |
||
poolingDesc | ||
return | cudnnStatus |
/// <summary> /// </summary> public PoolingDescriptor() { _desc = new cudnnPoolingDescriptor(); res = CudaDNNNativeMethods.cudnnCreatePoolingDescriptor(ref _desc); Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnCreatePoolingDescriptor", res)); if (res != cudnnStatus.Success) { throw new CudaDNNException(res); } }