pub unsafe fn set_convolution2d_descriptor(
    conv_desc: cudnnConvolutionDescriptor_t,
    pad_h: c_int,
    pad_w: c_int,
    u: c_int,
    v: c_int,
    dilation_h: c_int,
    dilation_w: c_int,
    mode: cudnnConvolutionMode_t,
    compute_type: cudnnDataType_t
) -> Result<(), CudnnError>
Expand description

Sets data on a conv descriptor. See nvidia docs

Safety

conv_desc must have been allocated by create_convolution_descriptor and NOT freed by destroy_convolution_descriptor.