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 module
resize
Implements tensor resize (upsample/downsample) with nearest, linear, and cubic interpolation.
Structs
-
CoordinateTransformationMode: Specifies how output coordinates map to input coordinates during resize. -
RoundMode: Specifies how fractional coordinates are rounded to integer indices during nearest-neighbor resize.
Functions
-
coord_transform: Maps an output coordinate to an input coordinate according to the given transformation mode. -
cubic_filter: Evaluates the Keys cubic convolution filter. -
interpolate_point_1d: Computes one-dimensional interpolation for a single output point along a given dimension. -
linear_filter: This is a tent filter. -
resize_cubic: Resizes the height and width of an[outer, H, W, inner]tensor with antialiased cubic interpolation. -
resize_linear: Resizes input to output shape using linear interpolation. -
resize_linear_gpu: Resizes input to output shape using linear interpolation on the GPU. -
resize_nearest_neighbor: Resizes input to output shape using nearest-neighbor interpolation.