For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo function
resize_bicubic
def resize_bicubic[dtype: DType, //](output: TileTensor[dtype, Engine=output.Engine, linear_idx_type=output.linear_idx_type], input: TileTensor[dtype, Engine=input.Engine, linear_idx_type=input.linear_idx_type], ctx: DeviceContext)
Perform bicubic interpolation.
Parameters:
- βdtype (
DType): Element type of the input and output tensors (inferred).
Args:
- βoutput (
TileTensor[dtype, Engine=output.Engine, linear_idx_type=output.linear_idx_type]): Output tensor with desired dimensions on host or device. - βinput (
TileTensor[dtype, Engine=input.Engine, linear_idx_type=input.linear_idx_type]): Input tensor of shape [B, C, H, W] on host or device. - βctx (
DeviceContext): Device context to enqueue GPU kernels on.