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)
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'
TEXTβ
TEXT = 'text'
VIDEOβ
VIDEO = 'video'
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!