class
OptimizationReport
PythonThe non-normative optimization report, <prefix>report.json.
OptimizationReport()The non-normative optimization report, <prefix>_report.json.
attribute
schema_version
Pythonschema_version: Literal[1] = Field(..., description='Report schema version')attribute
plan_file
Pythonplan_file: str = Field(..., description='The plan this report explains')attribute
kernel_calls
Pythonkernel_calls: ModuleKernelCalls | None = Field(None, description='Emitted CORE call records; null in older reports. Unrecorded operators are not known empty.')attribute
total_macs
Pythontotal_macs: int = Field(..., description='MACs of the convolution, depthwise, fully connected, transpose convolution and batch matmul layers')attribute
operators
Pythonoperators: list[ReportOperator]attribute
measurements
Pythonmeasurements: dict[str, list[MeasurementRecord]] = Field(..., description='Measurements for this target and CPU, keyed by setting; every setting has an entry', json_schema_extra=_per_setting)attribute
constant_placement
Pythonconstant_placement: ConstantPlacement | Noneattribute
hints
Pythonhints: list[Hint]