Mojo function
gpu_bicubic_kernel
gpu_bicubic_kernel[dtype: DType, OutputLayoutType: TensorLayout, output_origin: MutOrigin, InputLayoutType: TensorLayout, input_origin: ImmutOrigin](output: TileTensor[dtype, OutputLayoutType, output_origin], input: TileTensor[dtype, InputLayoutType, input_origin])
Perform bicubic interpolation using GPU.
Args:
- output (
TileTensor): Output tensor with desired dimensions on the device. - input (
TileTensor): Input tensor of shape [B, C, H, W] on the device.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!