cudnnConvolutionBackwardBias() private method

private cudnnConvolutionBackwardBias ( cudnnHandle handle, double &alpha, cudnnTensorDescriptor srcDesc, ManagedCuda.BasicTypes.CUdeviceptr srcData, double &beta, cudnnTensorDescriptor destDesc, ManagedCuda.BasicTypes.CUdeviceptr destData ) : cudnnStatus
handle cudnnHandle
alpha double
srcDesc cudnnTensorDescriptor
srcData ManagedCuda.BasicTypes.CUdeviceptr
beta double
destDesc cudnnTensorDescriptor
destData ManagedCuda.BasicTypes.CUdeviceptr
return cudnnStatus
Ejemplo n.º 1
0
 /* Functions to perform the backward multiconvolution */
 public void ConvolutionBackwardBias(double alpha,
                                     TensorDescriptor srcDesc,
                                     CudaDeviceVariable <double> srcData,
                                     double beta,
                                     TensorDescriptor destDesc,
                                     CudaDeviceVariable <double> destData
                                     )
 {
     res = CudaDNNNativeMethods.cudnnConvolutionBackwardBias(_handle, ref alpha, srcDesc.Desc, srcData.DevicePointer, ref beta, destDesc.Desc, destData.DevicePointer);
     Debug.WriteLine(String.Format("{0:G}, {1}: {2}", DateTime.Now, "cudnnConvolutionBackwardBias", res));
     if (res != cudnnStatus.Success)
     {
         throw new CudaDNNException(res);
     }
 }