Mojo function
resize_bicubic
resize_bicubic[dtype: DType, //, target: StringSlice[StaticConstantOrigin]](output: TileTensor[dtype, LayoutType, origin, linear_idx_type=linear_idx_type, element_shape_types=element_shape_types], input: TileTensor[dtype, LayoutType, origin, linear_idx_type=linear_idx_type, element_shape_types=element_shape_types], ctx: DeviceContextPtr)
Perform bicubic interpolation.
Args:
- โoutput (
TileTensor): Output tensor with desired dimensions on host or device. - โinput (
TileTensor): Input tensor of shape [B, C, H, W] on host or device. - โctx (
DeviceContextPtr): Device context to enqueue GPU kernels on.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!