Python class
MAXModelConfigBase
MAXModelConfigBase
class max.pipelines.lib.MAXModelConfigBase(*, config_file=None, section_name=None)
Bases: ConfigFileModel
Abstract base class for MAX model configuration.
Configures the model used by a pipeline. Subclass this when creating
specialized model configurations that do not require all fields defined
in MAXModelConfig.
model_config
model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'forbid', 'strict': False}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!