IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
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 module

image

Provides pooling helpers and sliding-window shape utilities used by image-processing operations.

Structs​

  • ​Image2DLayout: Encodes the data layout of a 2D image or filter tensor used by conv2d operations.
  • ​ImageData: Utility class that generalizes conv2d data and filter tensor with a given data layout.
  • ​ImageShape: A data-layout agnostic representation of tensor shapes used in conv2d.
  • ​PadHandling: Encodes how padding values are treated during pooling operations.