class
EthosCompileArgs
PythonCompiler assumptions for one fresh preparation of an original LiteRT model.
EthosCompileArgs()Compiler assumptions for one fresh preparation of an original LiteRT model.
attribute
soc
Pythonsoc: Path = Field(description='Compiler SoC definition YAML')attribute
mode
Pythonmode: str = Field(min_length=1, description='Operating mode in the compiler SoC')attribute
const
Pythonconst: str = Field(min_length=1, description='Compiler memory for constants')attribute
arena
Pythonarena: str = Field(min_length=1, description='Compiler memory for activations')attribute
cache
Pythoncache: str = Field(min_length=1, description='Compiler memory for the cache')attribute
memory_mode
Pythonmemory_mode: str = Field(min_length=1, description='Vela memory mode for this placement')attribute
arena_cache_size
Pythonarena_cache_size: int = Field(0, ge=0, strict=True, description='Requested Vela arena-cache size in bytes')attribute
policy_id
Pythonpolicy_id: str = Field(min_length=1, description='Identity of the modeled compiler policy')attribute
evidence_root
Pythonevidence_root: Path = Field(description='Directory for fresh retained preparation runs')attribute
fences
Pythonfences: EthosExplicitFenceArgs | EthosBudgetFenceArgs | None = Field(None, description='Split an original model at explicit boundaries or by an estimated-cycle budget')