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).

Python class

InputModality

InputModality​

class max.pipelines.modeling.types.InputModality(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

source

Bases: str, Enum

Enum representing the types of input a model architecture accepts.

Used by SupportedArchitecture to explicitly declare what each architecture can consume. Currently this is informational only – it drives the generated models table in the docs and has no effect on architecture behavior at runtime.

IMAGE​

IMAGE = 'image'

source

TEXT​

TEXT = 'text'

source

VIDEO​

VIDEO = 'video'

source