Title here
Summary here
Check if an ONNX model fits your target’s memory constraints before compiling.
tigris analyze MODEL [OPTIONS]| Flag | Type | Required | Description |
|---|---|---|---|
MODEL | path | yes | ONNX model file (.onnx) |
-m, --mem | size (multiple) | no | Memory pools, fast to slow (e.g. -m 256K or -m 256K -m 8M) |
-f, --flash | size | no | Flash budget for plan fit check (e.g. 4M) |
-v, --verbose | flag | no | Show per-stage breakdown, tiling analysis, and budget sweep tables |
All size arguments accept the following formats (case-insensitive):
| Format | Example | Bytes |
|---|---|---|
| Plain bytes | 262144 | 262144 |
| Kilobytes | 256K or 256KB | 262144 |
| Megabytes | 4M or 4MB | 4194304 |
| Fractional | 2.5M | 2621440 |
When run with a memory budget (-m), the analysis produces three panels:
Summary of the loaded model:
Memory feasibility analysis against the fast-memory budget:
Verdicts:
Plan size estimate and flash fit check:
-f is providedBasic feasibility check:
tigris analyze ds_cnn.onnx -m 256KCheck against both SRAM and flash budgets:
tigris analyze mobilenetv2.onnx -m 256K -f 4MTwo-pool memory (SRAM + PSRAM):
tigris analyze yolov5n.onnx -m 232K -m 6M -f 4MVerbose output with per-stage and tiling tables:
tigris analyze ds_cnn.onnx -m 64K -vWith -v, additional tables are shown: