Skip to main content

Mojo function

gpu_bicubic_kernel

gpu_bicubic_kernel[dtype: DType, rank: Int](output: NDBuffer[dtype, rank, MutableAnyOrigin], input: NDBuffer[dtype, rank, MutableAnyOrigin])

Perform bicubic interpolation using GPU.

Args:

  • output (NDBuffer): Output tensor with desired dimensions on the device.
  • input (NDBuffer): Input tensor of shape [B, C, H, W] on the device.

Was this page helpful?