For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo function
conv_transposed_cudnn
def conv_transposed_cudnn[input_type: DType, filter_type: DType, output_type: DType](input: TileTensor[input_type, Storage=input.Storage, linear_idx_type=input.linear_idx_type], filter: TileTensor[filter_type, Storage=filter.Storage, linear_idx_type=filter.linear_idx_type], output: TileTensor[output_type, Storage=output.Storage, linear_idx_type=output.linear_idx_type], stride: IndexList[Int(2)], dilation: IndexList[Int(2)], padding: IndexList[Int(2)], ctx: DeviceContext)
Runs a 2D transposed convolution on the GPU using cuDNN backward-data.
Pushes the device context and delegates to the internal cuDNN backward-data helper that configures the tensor, filter, and convolution descriptors and launches the cuDNN kernel.
Parameters:
- βinput_type (
DType): Element type of the input tensor. - βfilter_type (
DType): Element type of the filter tensor. - βoutput_type (
DType): Element type of the output tensor.
Args:
- βinput (
TileTensor[input_type, Storage=input.Storage, linear_idx_type=input.linear_idx_type]): Input tensor in NCHW layout. - βfilter (
TileTensor[filter_type, Storage=filter.Storage, linear_idx_type=filter.linear_idx_type]): Filter tensor in CKRS layout. - βoutput (
TileTensor[output_type, Storage=output.Storage, linear_idx_type=output.linear_idx_type]): Output tensor in NCHW layout. - βstride (
IndexList[Int(2)]): Stride along the height and width axes. - βdilation (
IndexList[Int(2)]): Dilation along the height and width axes of the filter. - βpadding (
IndexList[Int(2)]): Padding along the height and width axes. - βctx (
DeviceContext): Device context used to bind the cuDNN handle to the current stream.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!