{
  "$schema": "https://ambiqai.github.io/helia-ui/schema/reference-model-1.json",
  "generatedFrom": {
    "sourceCommit": "d31bf2226e58e4120eaf8e6da289b5ee91e2e06b",
    "tool": "pyref",
    "version": "1.7.3"
  },
  "language": "python",
  "modules": [
    {
      "description": "Read-only views of what a conversion generated.\n\n``ConvertArgs.result_views`` asks ``AotConverter.convert()`` to fill\n``ConversionResult.operators``, ``tensors``, ``regions`` and ``placements``\nwith the frozen records below. They describe the generated module, not the\ngraph, memory plan and operator objects the converter works with, which stay\ninternal and can change in any release.\n\n**Classes**\n\n| Name | Description |\n| --- | --- |\n| `OperatorView` | One generated operator. |\n| `QuantizationView` | A tensor's quantization parameters. |\n| `TensorView` | One tensor of the generated module. |\n| `RegionView` | One arena region of the generated module. |\n| `PlacementView` | Where one tensor lives. |\n\nCopyright 2025 Ambiq. All Rights Reserved.",
      "name": "views",
      "path": "helia_aot.views",
      "submodules": [],
      "summary": "Read-only views of what a conversion generated.",
      "symbols": [
        {
          "description": "`dataclass`\n\nOne generated operator, as ``ConversionResult.operators`` lists them in execution order.\n\nWith ``module.schedule: table``, the generated operator callback reports\n``run_started`` and ``run_finished`` for the operators in this order, and\nits ``op`` argument is the operator's ``layer_index``.",
          "examples": [],
          "id": "helia_aot.views.OperatorView",
          "kind": "class",
          "language": "python",
          "members": [
            {
              "description": "The operator's position in execution order, from 0; its\nindex in ``ConversionResult.operators``.",
              "examples": [],
              "id": "helia_aot.views.OperatorView.layer_index",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "layer_index",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "layer_index: int",
              "source": {
                "line": 139,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L139"
              },
              "summary": ""
            },
            {
              "description": "The name the operator's generated code is built from,\n``<prefix>_<type>_<id>``: its ``_init`` and ``_run`` functions,\nwhere the module emits them, and its source files.",
              "examples": [],
              "id": "helia_aot.views.OperatorView.symbol",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "symbol",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "symbol: str",
              "source": {
                "line": 140,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L140"
              },
              "summary": ""
            },
            {
              "description": "The operator type: the name of its operator in the model file,\na LiteRT builtin operator name such as ``CONV_2D`` or ``LESS``, or\na custom operator's canonical key. A transform that rewrites an\noperator reports the type it generates, so a depthwise convolution\nthat ``DEPTHWISE_TO_CONV`` rewrites is ``CONV_2D``.",
              "examples": [],
              "id": "helia_aot.views.OperatorView.type",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "type",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "type: str",
              "source": {
                "line": 141,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L141"
              },
              "summary": ""
            },
            {
              "description": "The index of the operator in the model file that the\noperator was parsed from, in the converted subgraph. A fused\nactivation is part of its LiteRT operator and adds no index. A\ntransform that rewrites an operator keeps its index; an operator a\ntransform removes, as ``FOLD_STATIC_SHAPE_EXPRESSIONS`` removes\nshape arithmetic, appears in no entry, and one a transform creates\nhas none. A LiteRT model hook that reorders the subgraph or\nreturns a copy of the model keeps every index. An operator a hook\ncreates lists the indices the hook states for it: each rolled-GRU\nfusion states its own ``WHILE`` loop and the reshapes around it.\nAn operator a hook creates without stating any, or rebuilds from\nthe serialized model, has none.",
              "examples": [],
              "id": "helia_aot.views.OperatorView.source_indices",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "source_indices",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "source_indices: tuple[int, ...]",
              "source": {
                "line": 142,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L142"
              },
              "summary": ""
            },
            {
              "description": "The ids of the tensors the operator reads, in operand order.",
              "examples": [],
              "id": "helia_aot.views.OperatorView.input_ids",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "input_ids",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "input_ids: tuple[str, ...]",
              "source": {
                "line": 143,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L143"
              },
              "summary": ""
            },
            {
              "description": "The ids of the tensors the operator writes, in operand order.",
              "examples": [],
              "id": "helia_aot.views.OperatorView.output_ids",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "output_ids",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "output_ids: tuple[str, ...]",
              "source": {
                "line": 144,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L144"
              },
              "summary": ""
            },
            {
              "description": "The ids of the operator's own tensors, as lowered:\nweights, biases, quantization parameters, precomputed sums and\nscratch buffers. Each id appears once and none is in ``input_ids``\nor ``output_ids``; the order is not promised.",
              "examples": [],
              "id": "helia_aot.views.OperatorView.local_tensor_ids",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "local_tensor_ids",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "local_tensor_ids: tuple[str, ...]",
              "source": {
                "line": 145,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L145"
              },
              "summary": ""
            },
            {
              "description": "Each heliaCORE function the operator's generated code\ncalls, keyed by its role, such as ``run``; empty for an operator\nthat calls none, or ``None`` when the operator does not record its\ncalls.",
              "examples": [],
              "id": "helia_aot.views.OperatorView.kernel_calls",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "kernel_calls",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "kernel_calls: Mapping[str, str] | None",
              "source": {
                "line": 146,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L146"
              },
              "summary": ""
            },
            {
              "description": "Multiply-accumulates per inference, a fused activation not\ncounted, or ``None`` for an operator type with no defined count:\n``CONV_2D``, ``DEPTHWISE_CONV_2D`` and ``FULLY_CONNECTED`` count\none per weight for each output row (the output's elements over its\nlast dimension), padded positions included; ``TRANSPOSE_CONV``,\nand a ``CONV_2D`` rewritten from one, one per weight for each\ninput row; ``BATCH_MATMUL`` one per output element for each\nelement of the contracted dimension; ``AVERAGE_POOL_2D`` and\n``MAX_POOL_2D`` count 0; every other type is ``None``.",
              "examples": [],
              "id": "helia_aot.views.OperatorView.macs",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "macs",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "macs: int | None",
              "source": {
                "line": 147,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L147"
              },
              "summary": ""
            },
            {
              "description": "The elements of the operator's constant weights and bias\n(a ``BATCH_MATMUL``'s constant operands), as the model holds them\nbefore lowering repacks or folds them, a weight a ``DEQUANTIZE``\nof a constant produces counted as that constant; ``None`` where\n``macs`` is, and 0 for the pooling types.",
              "examples": [],
              "id": "helia_aot.views.OperatorView.parameters",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "parameters",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "parameters: int | None",
              "source": {
                "line": 148,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L148"
              },
              "summary": ""
            }
          ],
          "name": "OperatorView",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "OperatorView(\n    layer_index: int,\n    symbol: str,\n    type: str,\n    source_indices: tuple[int, ...],\n    input_ids: tuple[str, ...],\n    output_ids: tuple[str, ...],\n    local_tensor_ids: tuple[str, ...],\n    kernel_calls: Mapping[str, str] | None,\n    macs: int | None,\n    parameters: int | None,\n) -> None",
          "source": {
            "line": 82,
            "path": "helia_aot/views.py",
            "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L82"
          },
          "summary": "One generated operator, as ConversionResult.operators lists them in execution order."
        },
        {
          "description": "`dataclass`\n\nA tensor's quantization parameters: ``real = (q - zero_point) * scale``.",
          "examples": [],
          "id": "helia_aot.views.QuantizationView",
          "kind": "class",
          "language": "python",
          "members": [
            {
              "description": "One scale per tensor, or one per channel along ``axis``.",
              "examples": [],
              "id": "helia_aot.views.QuantizationView.scale",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "scale",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "scale: tuple[float, ...]",
              "source": {
                "line": 161,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L161"
              },
              "summary": ""
            },
            {
              "description": "The zero points, one per scale; empty when the model gives none.",
              "examples": [],
              "id": "helia_aot.views.QuantizationView.zero_point",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "zero_point",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "zero_point: tuple[int, ...]",
              "source": {
                "line": 162,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L162"
              },
              "summary": ""
            },
            {
              "description": "The channel axis of per-channel parameters.",
              "examples": [],
              "id": "helia_aot.views.QuantizationView.axis",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "axis",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "axis: int",
              "source": {
                "line": 163,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L163"
              },
              "summary": ""
            }
          ],
          "name": "QuantizationView",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "QuantizationView(scale: tuple[float, ...], zero_point: tuple[int, ...], axis: int) -> None",
          "source": {
            "line": 151,
            "path": "helia_aot/views.py",
            "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L151"
          },
          "summary": "A tensor's quantization parameters: real = (q - zeropoint)  scale."
        },
        {
          "description": "`dataclass`\n\nOne tensor of the generated module, as ``ConversionResult.tensors`` lists them.\n\nThe list follows the generated tensor enumeration: the tensor at index\n``i`` is the one the module's ``<prefix>_tensor_ident_t`` numbers ``i``.",
          "examples": [],
          "id": "helia_aot.views.TensorView",
          "kind": "class",
          "language": "python",
          "members": [
            {
              "description": "The tensor's id, the key of ``ConversionResult.placements``.",
              "examples": [],
              "id": "helia_aot.views.TensorView.id",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "id",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "id: str",
              "source": {
                "line": 192,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L192"
              },
              "summary": ""
            },
            {
              "description": "The model's name for the tensor, or ``None`` for an unnamed one\nor one the conversion created.",
              "examples": [],
              "id": "helia_aot.views.TensorView.name",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "name",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "name: str | None",
              "source": {
                "line": 193,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L193"
              },
              "summary": ""
            },
            {
              "description": "The tensor's shape.",
              "examples": [],
              "id": "helia_aot.views.TensorView.shape",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "shape",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "shape: tuple[int, ...]",
              "source": {
                "line": 194,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L194"
              },
              "summary": ""
            },
            {
              "description": "The element type's NumPy name, such as ``int8``.",
              "examples": [],
              "id": "helia_aot.views.TensorView.dtype",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "dtype",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "dtype: str",
              "source": {
                "line": 195,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L195"
              },
              "summary": ""
            },
            {
              "description": "The C element type the generated code holds it as, such as ``int8_t``.",
              "examples": [],
              "id": "helia_aot.views.TensorView.ctype",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "ctype",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "ctype: str",
              "source": {
                "line": 196,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L196"
              },
              "summary": ""
            },
            {
              "description": "Its quantization parameters, or ``None`` when it carries no scale.",
              "examples": [],
              "id": "helia_aot.views.TensorView.quantization",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "quantization",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "quantization: QuantizationView | None",
              "source": {
                "line": 197,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L197"
              },
              "summary": ""
            },
            {
              "description": "``input`` for a model input, otherwise ``output`` for a model\noutput, otherwise ``constant``, ``persistent`` or ``scratch``. A\ntensor that is both a model input and a model output is ``input``;\n``input_index`` and ``output_index`` carry both roles.",
              "examples": [],
              "id": "helia_aot.views.TensorView.kind",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "kind",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "kind: TensorKind",
              "source": {
                "line": 198,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L198"
              },
              "summary": ""
            },
            {
              "description": "The tensor's position in the module's inputs, the index\nof ``<prefix>_inputs_id`` and ``ctx->inputs`` it fills, or ``None``.",
              "examples": [],
              "id": "helia_aot.views.TensorView.input_index",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "input_index",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "input_index: int | None",
              "source": {
                "line": 199,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L199"
              },
              "summary": ""
            },
            {
              "description": "The tensor's position in the module's outputs, the index\nof ``<prefix>_outputs_id`` and ``ctx->outputs``, or ``None``.",
              "examples": [],
              "id": "helia_aot.views.TensorView.output_index",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "output_index",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "output_index: int | None",
              "source": {
                "line": 200,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L200"
              },
              "summary": ""
            },
            {
              "description": "The bytes the memory plan allocated for it.",
              "examples": [],
              "id": "helia_aot.views.TensorView.nbytes",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "nbytes",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "nbytes: int",
              "source": {
                "line": 201,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L201"
              },
              "summary": ""
            }
          ],
          "name": "TensorView",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "TensorView(\n    id: str,\n    name: str | None,\n    shape: tuple[int, ...],\n    dtype: str,\n    ctype: str,\n    quantization: QuantizationView | None,\n    kind: TensorKind,\n    input_index: int | None,\n    output_index: int | None,\n    nbytes: int,\n) -> None",
          "source": {
            "line": 166,
            "path": "helia_aot/views.py",
            "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L166"
          },
          "summary": "One tensor of the generated module, as ConversionResult.tensors lists them."
        },
        {
          "description": "`dataclass`\n\nOne arena region of the generated module, as ``ConversionResult.regions`` lists them.\n\nThe region at index ``i`` has ``id == i``, the value of its enumerator in\nthe module's ``<prefix>_arena_region_t``, which ``<prefix>_bind_arena``\ntakes and the residency report's ``region_id`` uses.",
          "examples": [],
          "id": "helia_aot.views.RegionView",
          "kind": "class",
          "language": "python",
          "members": [
            {
              "description": "The region's enumerator value, from 0.",
              "examples": [],
              "id": "helia_aot.views.RegionView.id",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "id",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "id: int",
              "source": {
                "line": 236,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L236"
              },
              "summary": ""
            },
            {
              "description": "The memory the operators read and write the region in.",
              "examples": [],
              "id": "helia_aot.views.RegionView.memory",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "memory",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "memory: MemoryType",
              "source": {
                "line": 237,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L237"
              },
              "summary": ""
            },
            {
              "description": "The memory a staged constant region is copied from at\ninitialization; ``memory`` for every other region.",
              "examples": [],
              "id": "helia_aot.views.RegionView.source_memory",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "source_memory",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "source_memory: MemoryType",
              "source": {
                "line": 238,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L238"
              },
              "summary": ""
            },
            {
              "description": "``scratch``, ``persistent`` or ``constant``.",
              "examples": [],
              "id": "helia_aot.views.RegionView.role",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "role",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "role: RegionRole",
              "source": {
                "line": 239,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L239"
              },
              "summary": ""
            },
            {
              "description": "The bytes from ``symbol`` to the region's first usable byte:\nan address-zero guard ahead of a generated ITCM region, otherwise 0.",
              "examples": [],
              "id": "helia_aot.views.RegionView.offset",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "offset",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "offset: int",
              "source": {
                "line": 240,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L240"
              },
              "summary": ""
            },
            {
              "description": "The region's usable bytes.",
              "examples": [],
              "id": "helia_aot.views.RegionView.size",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "size",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "size: int",
              "source": {
                "line": 241,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L241"
              },
              "summary": ""
            },
            {
              "description": "The alignment of its first usable byte, in bytes.",
              "examples": [],
              "id": "helia_aot.views.RegionView.alignment",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "alignment",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "alignment: int",
              "source": {
                "line": 242,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L242"
              },
              "summary": ""
            },
            {
              "description": "The C object the module emits for the region, or ``None``\nwhen the application binds it (``memory.allocate_arenas: false``).",
              "examples": [],
              "id": "helia_aot.views.RegionView.symbol",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "symbol",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "symbol: str | None",
              "source": {
                "line": 243,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L243"
              },
              "summary": ""
            },
            {
              "description": "The C object holding a staged constant region's bytes\nbefore they are copied, emitted in both arena modes, or ``None``.",
              "examples": [],
              "id": "helia_aot.views.RegionView.source_symbol",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "source_symbol",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "source_symbol: str | None",
              "source": {
                "line": 244,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L244"
              },
              "summary": ""
            },
            {
              "description": "The bytes from ``source_symbol`` to the first of those\nbytes: an address-zero guard ahead of a source in ITCM, otherwise 0.",
              "examples": [],
              "id": "helia_aot.views.RegionView.source_offset",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "source_offset",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "source_offset: int",
              "source": {
                "line": 245,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L245"
              },
              "summary": ""
            },
            {
              "description": "The file, relative to the module directory, the module\nwrites a constant region's ``size`` bytes to when\n``memory.allocate_arenas`` is false, or ``None``. It holds the\ndata only, never an address-zero guard. A cold constant region is\nbound to these bytes; a staged one is copied at initialization\nfrom ``source_symbol``, whose data are the same bytes.",
              "examples": [],
              "id": "helia_aot.views.RegionView.sidecar_file",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "sidecar_file",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "sidecar_file: str | None",
              "source": {
                "line": 246,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L246"
              },
              "summary": ""
            }
          ],
          "name": "RegionView",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "RegionView(\n    id: int,\n    memory: MemoryType,\n    source_memory: MemoryType,\n    role: RegionRole,\n    offset: int,\n    size: int,\n    alignment: int,\n    symbol: str | None,\n    source_symbol: str | None,\n    source_offset: int,\n    sidecar_file: str | None,\n) -> None",
          "source": {
            "line": 204,
            "path": "helia_aot/views.py",
            "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L204"
          },
          "summary": "One arena region of the generated module, as ConversionResult.regions lists them."
        },
        {
          "description": "`dataclass`\n\nWhere one tensor lives, as ``ConversionResult.placements`` maps them by tensor id.",
          "examples": [],
          "id": "helia_aot.views.PlacementView",
          "kind": "class",
          "language": "python",
          "members": [
            {
              "description": "The ``RegionView.id`` of the region holding the tensor, or\n``None`` for a tensor with no elements, which has no region.",
              "examples": [],
              "id": "helia_aot.views.PlacementView.region",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "region",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "region: int | None",
              "source": {
                "line": 264,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L264"
              },
              "summary": ""
            },
            {
              "description": "The tensor's byte offset in the region.",
              "examples": [],
              "id": "helia_aot.views.PlacementView.offset",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "offset",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "offset: int",
              "source": {
                "line": 265,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L265"
              },
              "summary": ""
            },
            {
              "description": "The bytes allocated for it.",
              "examples": [],
              "id": "helia_aot.views.PlacementView.size",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "size",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "size: int",
              "source": {
                "line": 266,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L266"
              },
              "summary": ""
            },
            {
              "description": "The memory its bytes are copied from when staged,\notherwise its region's memory.",
              "examples": [],
              "id": "helia_aot.views.PlacementView.source_memory",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "source_memory",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "source_memory: MemoryType",
              "source": {
                "line": 267,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L267"
              },
              "summary": ""
            },
            {
              "description": "Whether it is a constant copied into its region at\ninitialization.",
              "examples": [],
              "id": "helia_aot.views.PlacementView.staged",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "staged",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "staged: bool",
              "source": {
                "line": 268,
                "path": "helia_aot/views.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L268"
              },
              "summary": ""
            }
          ],
          "name": "PlacementView",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "PlacementView(region: int | None, offset: int, size: int, source_memory: MemoryType, staged: bool) -> None",
          "source": {
            "line": 249,
            "path": "helia_aot/views.py",
            "url": "https://github.com/AmbiqAI/helia-aot/blob/d31bf2226e58e4120eaf8e6da289b5ee91e2e06b/helia_aot/views.py#L249"
          },
          "summary": "Where one tensor lives, as ConversionResult.placements maps them by tensor id."
        }
      ]
    }
  ],
  "name": "helia_aot"
}
