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
resize_bicubic
def resize_bicubic[dtype: DType, //, target: StringSlice[StaticConstantOrigin]](output: TileTensor[dtype, Storage=output.Storage, linear_idx_type=output.linear_idx_type, element_size=output.element_size], input: TileTensor[dtype, Storage=input.Storage, linear_idx_type=input.linear_idx_type, element_size=input.element_size], ctx: DeviceContext)
Perform bicubic interpolation.
Args:
- โoutput (
TileTensor[dtype, Storage=output.Storage, linear_idx_type=output.linear_idx_type, element_size=output.element_size]): Output tensor with desired dimensions on host or device. - โinput (
TileTensor[dtype, Storage=input.Storage, linear_idx_type=input.linear_idx_type, element_size=input.element_size]): Input tensor of shape [B, C, H, W] on host or device. - โctx (
DeviceContext): 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!