qbcompiler.configs.models.PreprocessingConfig Class Reference

qbcompiler.configs.models.PreprocessingConfig Class Reference#

Mobilint SDK qb Compiler: qbcompiler.configs.models.PreprocessingConfig Class Reference
Mobilint SDK qb Compiler v1.2
MCS002-EN
qbcompiler.configs.models.PreprocessingConfig Class Reference

Configuration for input preprocessing pipeline. More...

Inheritance diagram for qbcompiler.configs.models.PreprocessingConfig:

Public Member Functions

"PreprocessingConfig" with_updates (self, **kwargs)
 Return a copy with updated fields.

Static Public Attributes

 model_config
bool apply
bool auto_convert_format
Any pipeline
Any input_configs

Detailed Description

Configuration for input preprocessing pipeline.

Defines preprocessing operations to be applied to model inputs, including operations like resize, normalize, color conversion, etc.

Parameters
applybool. If true, apply preprocessing pipeline
auto_convert_formatbool. If true, automatically convert input format
pipelineList[Dict[str, Any]]. List of preprocessing operations to apply globally
input_configsDict[str, Any]. Per-input preprocessing configurations. Keys are input names

Definition at line 47 of file models.py.

Member Function Documentation

◆ with_updates()

"PreprocessingConfig" qbcompiler.configs.models.PreprocessingConfig.with_updates ( self,
** kwargs )

Return a copy with updated fields.

Definition at line 82 of file models.py.

Member Data Documentation

◆ model_config

qbcompiler.configs.models.PreprocessingConfig.model_config
static
Initial value:
= ConfigDict(
populate_by_name=True,
extra="forbid",
)

Definition at line 60 of file models.py.

◆ apply

bool qbcompiler.configs.models.PreprocessingConfig.apply
static
Initial value:
= Field(
default=False, description="If true, apply preprocessing pipeline"
)

Definition at line 65 of file models.py.

◆ auto_convert_format

bool qbcompiler.configs.models.PreprocessingConfig.auto_convert_format
static
Initial value:
= Field(
default=False,
alias="autoConvertFormat",
description="If true, automatically convert input format",
)

Definition at line 68 of file models.py.

◆ pipeline

Any qbcompiler.configs.models.PreprocessingConfig.pipeline
static
Initial value:
= Field(
default=[], description="List of preprocessing operations to apply globally"
)

Definition at line 73 of file models.py.

◆ input_configs

Any qbcompiler.configs.models.PreprocessingConfig.input_configs
static
Initial value:
= Field(
default={},
alias="inputConfigs",
description="Per-input preprocessing configurations. Keys are input names",
)

Definition at line 76 of file models.py.


The documentation for this class was generated from the following file: