hpx analyze#
Analyze a model's compute and parameter breakdown without hardware.
Synopsis#
hpx analyze MODEL [--engine tflm|helia-rt|helia-aot] [--compare]
[--format table|csv|json] [--output FILE] [--board BOARD]
Description#
Performs a static, host-only analysis of a .tflite model: per-operator
MACs, parameter counts, and tensor sizes. No board, probe, or firmware
build is involved.
- With no
--engine, the raw.tflitegraph is analyzed as-is. --engine helia-rtanalyzes the original graph (heliaRT executes the tflite graph directly).--engine helia-aotruns AOT compilation first and analyzes the transformed graph, so operator fusion and layout changes are reflected.--compareshows a side-by-side view of the original vs the engine-transformed graph.
Options#
| Flag | Description |
|---|---|
--engine |
Analyze as this engine would execute it (default: raw graph). |
--compare |
Side-by-side comparison of original vs transformed graph. |
--format |
Output format: table (default), csv, or json. |
--output, -o |
Write output to a file instead of the terminal. |
--board |
Target board for AOT compilation (default: apollo510_evb). |