{
  "$schema": "https://ambiqai.github.io/helia-ui/schema/reference-model-1.json",
  "generatedFrom": {
    "sourceCommit": "f341fb11f7f5d77a4974ba8273c4cd55d67c21f0",
    "tool": "pyref",
    "version": "1.7.3"
  },
  "language": "python",
  "modules": [
    {
      "description": "Golden files (``helia-model-zoo/golden@2``) from an exported streaming model.",
      "name": "golden",
      "path": "helia_edge.export.golden",
      "submodules": [],
      "summary": "Golden files (helia-model-zoo/golden@2) from an exported streaming model.",
      "symbols": [
        {
          "description": "A golden@2 sequence for a streaming model: ``frames`` are consecutive calls of its signal input.\n\nThe model runs with LiteRT's reference kernels, each ``state_out_k`` fed back as ``state_in_k`` and\nthe states reset to zero at the steps in ``resets``. The NPZ holds ``input_i`` and ``output_i`` in\nsubgraph order, as raw (quantized) values.",
          "examples": [],
          "id": "helia_edge.export.golden.golden_npz",
          "kind": "function",
          "language": "python",
          "members": [],
          "name": "golden_npz",
          "params": [],
          "raises": [
            {
              "description": "If the model has more than one input that is not a state.",
              "type": "ValueError"
            }
          ],
          "returns": [],
          "signature": "golden_npz(content: bytes, frames: npt.NDArray, resets: Collection[int] = ()) -> bytes",
          "source": {
            "line": 11,
            "path": "helia_edge/export/golden.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/export/golden.py#L11"
          },
          "summary": "A golden@2 sequence for a streaming model: frames are consecutive calls of its signal input."
        }
      ]
    }
  ],
  "name": "helia_edge"
}
