# modelcost

The static cost model of a network, read from the model file before anything is built or run.

Every name on this page is imported from `helia_profiler`.

**API tier:** `experimental`

Generated from the `src/helia_profiler` tree `fe269596788d6ab1604cf433559e96b5f48c1d13`.

[Machine-readable model](https://ambiqai.github.io/helia-profiler/reference/api/helia_profiler/modelcost.json)

`dataclass`

Full model analysis result.

**API tier:** `experimental`

Approximate parameter count (weights + biases).

Engine/interpreter that produced this analysis ('tflite', 'helia-rt', 'helia-aot').

Number of Vela-generated ethos-u custom ops in the graph.

True when the model was compiled by Vela (contains ethos-u ops).

Return the analysis and its layers as plain dicts.

---

Machine-readable: [`modelcost.json`](https://ambiqai.github.io/helia-profiler/reference/api/helia_profiler/modelcost.json) · [`modelcost.md`](https://ambiqai.github.io/helia-profiler/reference/api/helia_profiler/modelcost.md), complete and lossless.
