Library/ManagedCuda/CudaDNN/CudaDNNNativeMethods.cs
/// <summary>
/// This function computes the gradient of a grid generation operation.
/// </summary>
/// <param name="handle">Handle to a previously created cuDNN context.</param>
/// <param name="stDesc">Previously created spatial transformer descriptor object.</param>
/// <param name="dgrid">Data pointer to GPU memory contains the input differential data.</param>
/// <param name="dtheta">Data pointer to GPU memory contains the output differential data.</param>
/// <returns></returns>
This function computes the gradient of a grid generation operation.
This function computes the gradient of a grid generation operation .
[DllImport(CUDNN_API_DLL_NAME)]
        public static extern cudnnStatus cudnnSpatialTfGridGeneratorBackward(
                                         cudnnHandle handle,
                                         cudnnSpatialTransformerDescriptor stDesc,
                                         CUdeviceptr dgrid,
                                         CUdeviceptr dtheta);
[ DllImport ( CUDNN_API_DLL_NAME ) ] public static extern cudnnStatus cudnnSpatialTfGridGeneratorBackward ( cudnnHandle handle , cudnnSpatialTransformerDescriptor stDesc , CUdeviceptr dgrid , CUdeviceptr dtheta ) ;
This function computes the gradient of a grid generation operation.
This function computes the gradient of a grid generation operation .
None
handle
cudnnHandle
Handle to a previously created cuDNN context.
Handle to a previously created cuDNN context .
stDesc
cudnnSpatialTransformerDescriptor
Previously created spatial transformer descriptor object.
Previously created spatial transformer descriptor object .
dgrid
CUdeviceptr
Data pointer to GPU memory contains the input differential data.
Data pointer to GPU memory contains the input differential data .
dtheta
CUdeviceptr
Data pointer to GPU memory contains the output differential data.
Data pointer to GPU memory contains the output differential data .