class
ConstantPlacement
PythonConstants outside TCM against DTCM left free, within memory.constraints.
ConstantPlacement()Constants outside TCM against DTCM left free, within memory.constraints.
attribute
constant_bytes_outside_tcm: dict[str, int]attribute
constant_bytes_in_tcm
Pythonconstant_bytes_in_tcm: intattribute
dtcm_budget_bytes
Pythondtcm_budget_bytes: intattribute
dtcm_free_bytes
Pythondtcm_free_bytes: intattribute
id_specific_constant_rules: intattribute
cold_source
Pythoncold_source: str | Noneattribute
residency_requests
Pythonresidency_requests: int = Field(0, description='Constants whose memory.tensors rules request a residency; the staging hint is withheld when any do, since its rule would turn every request into a pin. 0 in older reports')