optimization
Optimization settings API
Section titled “Optimization settings API”The optimization vocabulary of RFC 0004: settings are everything a user sets
to trade speed, accuracy or memory (the goal, the approximation gate, the knobs
and constant placement rules); a knob is a per-operator mechanism with a
closed set of values plus auto. The knob registry (KNOBS) drives the
configuration checks, the operator handler, the optimization plan and the
hints; the plan and report models define the files every conversion writes.
The plan and report models are promised. The knob and setting registries
(KNOBS, SETTINGS, KnobSpec, SettingSpec, knob,
knob_names, default_knob_values) and the measurement records
(MeasurementRecord, load_measurements, measurements_for) are
provisional and can change in a minor release.
Copyright 2025 Ambiq. All Rights Reserved.
Re-exports
| Name | Source |
|---|---|
| KNOBS | helia_aot.optimization.knobs.KNOBS |
| SETTINGS | helia_aot.optimization.settings.SETTINGS |
| ConstantPlacement | helia_aot.optimization.schema.ConstantPlacement |
| Hint | helia_aot.optimization.schema.Hint |
| KnobChoice | helia_aot.optimization.schema.KnobChoice |
| KnobSource | helia_aot.optimization.schema.KnobSource |
| KnobSpec | helia_aot.optimization.knobs.KnobSpec |
| MeasurementRecord | helia_aot.optimization.schema.MeasurementRecord |
| ModuleKernelCall | helia_aot.optimization.schema.ModuleKernelCall |
| ModuleKernelCalls | helia_aot.optimization.schema.ModuleKernelCalls |
| OptimizationPlan | helia_aot.optimization.schema.OptimizationPlan |
| OptimizationReport | helia_aot.optimization.schema.OptimizationReport |
| PlanOperator | helia_aot.optimization.schema.PlanOperator |
| RuleRef | helia_aot.optimization.schema.RuleRef |
| SettingSpec | helia_aot.optimization.settings.SettingSpec |
| default_knob_values | helia_aot.optimization.knobs.default_knob_values |
| knob | helia_aot.optimization.knobs.knob |
| knob_names | helia_aot.optimization.knobs.knob_names |
| load_measurements | helia_aot.optimization.measurements.load_measurements |
| measurements_for | helia_aot.optimization.measurements.measurements_for |