{
  "$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": "Declarative weight mappings from a source file to a Keras model; importable without Keras.",
      "name": "mapping",
      "path": "helia_edge.importers.mapping",
      "submodules": [],
      "summary": "Declarative weight mappings from a source file to a Keras model; importable without Keras.",
      "symbols": [
        {
          "description": "",
          "examples": [],
          "id": "helia_edge.importers.mapping.SHA256",
          "kind": "constant",
          "language": "python",
          "members": [],
          "name": "SHA256",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "SHA256 = Annotated[str, Field(pattern='^[0-9a-f]{64}$')]",
          "source": {
            "line": 10,
            "path": "helia_edge/importers/mapping.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L10"
          },
          "summary": ""
        },
        {
          "description": "",
          "examples": [],
          "id": "helia_edge.importers.mapping.Transform",
          "kind": "attribute",
          "language": "python",
          "members": [],
          "name": "Transform",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "Transform = Annotated[Transpose | Reshape | GateReorder | Split | SumParts, Field(discriminator='kind')]",
          "source": {
            "line": 103,
            "path": "helia_edge/importers/mapping.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L103"
          },
          "summary": ""
        },
        {
          "description": "Permute the axes, as ``numpy.transpose``.",
          "examples": [],
          "id": "helia_edge.importers.mapping.Transpose",
          "kind": "class",
          "language": "python",
          "members": [
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.Transpose.model_config",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "model_config",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "model_config = ConfigDict(frozen=True, extra='forbid')",
              "source": {
                "line": 16,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L16"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.Transpose.kind",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "kind",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "kind: Literal['transpose'] = 'transpose'",
              "source": {
                "line": 18,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L18"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.Transpose.perm",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "perm",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "perm: tuple[int, ...]",
              "source": {
                "line": 19,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L19"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.Transpose.apply",
              "kind": "method",
              "language": "python",
              "members": [],
              "name": "apply",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "apply(x: npt.NDArray) -> npt.NDArray",
              "source": {
                "line": 21,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L21"
              },
              "summary": ""
            }
          ],
          "name": "Transpose",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "Transpose()",
          "source": {
            "line": 13,
            "path": "helia_edge/importers/mapping.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L13"
          },
          "summary": "Permute the axes, as numpy.transpose."
        },
        {
          "description": "Reshape in C order, as ``numpy.reshape``.",
          "examples": [],
          "id": "helia_edge.importers.mapping.Reshape",
          "kind": "class",
          "language": "python",
          "members": [
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.Reshape.model_config",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "model_config",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "model_config = ConfigDict(frozen=True, extra='forbid')",
              "source": {
                "line": 28,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L28"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.Reshape.kind",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "kind",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "kind: Literal['reshape'] = 'reshape'",
              "source": {
                "line": 30,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L30"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.Reshape.shape",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "shape",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "shape: tuple[int, ...]",
              "source": {
                "line": 31,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L31"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.Reshape.apply",
              "kind": "method",
              "language": "python",
              "members": [],
              "name": "apply",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "apply(x: npt.NDArray) -> npt.NDArray",
              "source": {
                "line": 33,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L33"
              },
              "summary": ""
            }
          ],
          "name": "Reshape",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "Reshape()",
          "source": {
            "line": 25,
            "path": "helia_edge/importers/mapping.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L25"
          },
          "summary": "Reshape in C order, as numpy.reshape."
        },
        {
          "description": "Reorder equal gate blocks along ``axis``, for example ONNX LSTM ``\"iofc\"`` to Keras ``\"ifco\"``.\n\n``source`` and ``target`` name the same gates, one letter each, in their stored orders.",
          "examples": [],
          "id": "helia_edge.importers.mapping.GateReorder",
          "kind": "class",
          "language": "python",
          "members": [
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.GateReorder.model_config",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "model_config",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "model_config = ConfigDict(frozen=True, extra='forbid')",
              "source": {
                "line": 43,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L43"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.GateReorder.kind",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "kind",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "kind: Literal['gate_reorder'] = 'gate_reorder'",
              "source": {
                "line": 45,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L45"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.GateReorder.source",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "source",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "source: str",
              "source": {
                "line": 46,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L46"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.GateReorder.target",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "target",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "target: str",
              "source": {
                "line": 47,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L47"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.GateReorder.axis",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "axis",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "axis: int = 0",
              "source": {
                "line": 48,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L48"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.GateReorder.apply",
              "kind": "method",
              "language": "python",
              "members": [],
              "name": "apply",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "apply(x: npt.NDArray) -> npt.NDArray",
              "source": {
                "line": 56,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L56"
              },
              "summary": ""
            }
          ],
          "name": "GateReorder",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "GateReorder()",
          "source": {
            "line": 37,
            "path": "helia_edge/importers/mapping.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L37"
          },
          "summary": "Reorder equal gate blocks along axis, for example ONNX LSTM \"iofc\" to Keras \"ifco\"."
        },
        {
          "description": "Take part ``index`` of ``parts`` equal parts along ``axis``.\n\nA source tensor may feed several rows only through splits that together use every part once.",
          "examples": [],
          "id": "helia_edge.importers.mapping.Split",
          "kind": "class",
          "language": "python",
          "members": [
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.Split.model_config",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "model_config",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "model_config = ConfigDict(frozen=True, extra='forbid')",
              "source": {
                "line": 69,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L69"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.Split.kind",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "kind",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "kind: Literal['split'] = 'split'",
              "source": {
                "line": 71,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L71"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.Split.axis",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "axis",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "axis: int",
              "source": {
                "line": 72,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L72"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.Split.parts",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "parts",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "parts: int = Field(ge=2)",
              "source": {
                "line": 73,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L73"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.Split.index",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "index",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "index: int = Field(ge=0)",
              "source": {
                "line": 74,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L74"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.Split.apply",
              "kind": "method",
              "language": "python",
              "members": [],
              "name": "apply",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "apply(x: npt.NDArray) -> npt.NDArray",
              "source": {
                "line": 82,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L82"
              },
              "summary": ""
            }
          ],
          "name": "Split",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "Split()",
          "source": {
            "line": 63,
            "path": "helia_edge/importers/mapping.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L63"
          },
          "summary": "Take part index of parts equal parts along axis."
        },
        {
          "description": "Add ``parts`` equal parts along ``axis``, for example an ONNX LSTM's input and recurrent biases.",
          "examples": [],
          "id": "helia_edge.importers.mapping.SumParts",
          "kind": "class",
          "language": "python",
          "members": [
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.SumParts.model_config",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "model_config",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "model_config = ConfigDict(frozen=True, extra='forbid')",
              "source": {
                "line": 91,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L91"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.SumParts.kind",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "kind",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "kind: Literal['sum_parts'] = 'sum_parts'",
              "source": {
                "line": 93,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L93"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.SumParts.axis",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "axis",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "axis: int",
              "source": {
                "line": 94,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L94"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.SumParts.parts",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "parts",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "parts: int = Field(ge=2)",
              "source": {
                "line": 95,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L95"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.SumParts.apply",
              "kind": "method",
              "language": "python",
              "members": [],
              "name": "apply",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "apply(x: npt.NDArray) -> npt.NDArray",
              "source": {
                "line": 97,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L97"
              },
              "summary": ""
            }
          ],
          "name": "SumParts",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "SumParts()",
          "source": {
            "line": 88,
            "path": "helia_edge/importers/mapping.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L88"
          },
          "summary": "Add parts equal parts along axis, for example an ONNX LSTM's input and recurrent biases."
        },
        {
          "description": "One model weight: its source tensors, how they combine, and the transforms to its layout.",
          "examples": [],
          "id": "helia_edge.importers.mapping.WeightRow",
          "kind": "class",
          "language": "python",
          "members": [
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.WeightRow.model_config",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "model_config",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "model_config = ConfigDict(frozen=True, extra='forbid')",
              "source": {
                "line": 123,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L123"
              },
              "summary": ""
            },
            {
              "description": "Source tensor names. Several sources are combined by ``combine`` before ``transforms``.",
              "examples": [],
              "id": "helia_edge.importers.mapping.WeightRow.sources",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "sources",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "sources: tuple[str, ...] = Field(min_length=1)",
              "source": {
                "line": 125,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L125"
              },
              "summary": ""
            },
            {
              "description": "``sum`` (for example an LSTM's input and recurrent biases) or ``concat`` along\n``concat_axis``; required with several sources.",
              "examples": [],
              "id": "helia_edge.importers.mapping.WeightRow.combine",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "combine",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "combine: Literal['sum', 'concat'] | None = None",
              "source": {
                "line": 126,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L126"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.WeightRow.concat_axis",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "concat_axis",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "concat_axis: int = 0",
              "source": {
                "line": 127,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L127"
              },
              "summary": ""
            },
            {
              "description": "Applied in order to the (combined) source. A ``Split`` may only come first and\nonly with one source.",
              "examples": [],
              "id": "helia_edge.importers.mapping.WeightRow.transforms",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "transforms",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "transforms: tuple[Transform, ...] = ()",
              "source": {
                "line": 128,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L128"
              },
              "summary": ""
            },
            {
              "description": "Name of the Keras layer holding the weight (``outer/inner`` for a nested model).",
              "examples": [],
              "id": "helia_edge.importers.mapping.WeightRow.layer",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "layer",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "layer: str",
              "source": {
                "line": 129,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L129"
              },
              "summary": ""
            },
            {
              "description": "Name of the weight within the layer, such as ``kernel`` or ``bias``, or its path inside a\ncomposite layer, such as ``query/kernel`` in a ``MultiHeadAttention``.",
              "examples": [],
              "id": "helia_edge.importers.mapping.WeightRow.weight",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "weight",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "weight: str",
              "source": {
                "line": 130,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L130"
              },
              "summary": ""
            },
            {
              "description": "The shape every source tensor must have, checked before ``combine`` and\n``transforms``; None checks only the final shape. A ``Reshape`` alone cannot tell a\ntransposed source of the same size from the right one.",
              "examples": [],
              "id": "helia_edge.importers.mapping.WeightRow.source_shape",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "source_shape",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "source_shape: tuple[Annotated[int, Field(ge=0)], ...] | None = None",
              "source": {
                "line": 131,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L131"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.WeightRow.split",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "split",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "split: Split | None",
              "source": {
                "line": 147,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L147"
              },
              "summary": ""
            },
            {
              "description": "This row's weight value from the source tensors.",
              "examples": [],
              "id": "helia_edge.importers.mapping.WeightRow.value",
              "kind": "method",
              "language": "python",
              "members": [],
              "name": "value",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "value(tensors: dict[str, npt.NDArray]) -> npt.NDArray",
              "source": {
                "line": 151,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L151"
              },
              "summary": "This row's weight value from the source tensors."
            }
          ],
          "name": "WeightRow",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "WeightRow()",
          "source": {
            "line": 106,
            "path": "helia_edge/importers/mapping.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L106"
          },
          "summary": "One model weight: its source tensors, how they combine, and the transforms to its layout."
        },
        {
          "description": "File formats ``import_weights`` reads (see ``helia_edge.importers.readers``).",
          "examples": [],
          "id": "helia_edge.importers.mapping.SourceFormat",
          "kind": "class",
          "language": "python",
          "members": [
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.SourceFormat.ONNX",
              "kind": "constant",
              "language": "python",
              "members": [],
              "name": "ONNX",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "ONNX = 'onnx'",
              "source": {
                "line": 168,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L168"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.SourceFormat.SAFETENSORS",
              "kind": "constant",
              "language": "python",
              "members": [],
              "name": "SAFETENSORS",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "SAFETENSORS = 'safetensors'",
              "source": {
                "line": 169,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L169"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.SourceFormat.TORCH",
              "kind": "constant",
              "language": "python",
              "members": [],
              "name": "TORCH",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "TORCH = 'torch'",
              "source": {
                "line": 170,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L170"
              },
              "summary": ""
            }
          ],
          "name": "SourceFormat",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "SourceFormat()",
          "source": {
            "line": 165,
            "path": "helia_edge/importers/mapping.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L165"
          },
          "summary": "File formats importweights reads (see heliaedge.importers.readers)."
        },
        {
          "description": "The one source file a mapping was written for.",
          "examples": [],
          "id": "helia_edge.importers.mapping.SourcePin",
          "kind": "class",
          "language": "python",
          "members": [
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.SourcePin.model_config",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "model_config",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "model_config = ConfigDict(frozen=True, extra='forbid')",
              "source": {
                "line": 176,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L176"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.SourcePin.uri",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "uri",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "uri: str",
              "source": {
                "line": 178,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L178"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.SourcePin.sha256",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "sha256",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "sha256: SHA256",
              "source": {
                "line": 179,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L179"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.SourcePin.format",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "format",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "format: SourceFormat",
              "source": {
                "line": 180,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L180"
              },
              "summary": ""
            },
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.SourcePin.note",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "note",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "note: str = ''",
              "source": {
                "line": 181,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L181"
              },
              "summary": ""
            }
          ],
          "name": "SourcePin",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "SourcePin()",
          "source": {
            "line": 173,
            "path": "helia_edge/importers/mapping.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L173"
          },
          "summary": "The one source file a mapping was written for."
        },
        {
          "description": "Every weight of one architecture, from one source format.",
          "examples": [],
          "id": "helia_edge.importers.mapping.WeightMapping",
          "kind": "class",
          "language": "python",
          "members": [
            {
              "description": "",
              "examples": [],
              "id": "helia_edge.importers.mapping.WeightMapping.model_config",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "model_config",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "model_config = ConfigDict(frozen=True, extra='forbid')",
              "source": {
                "line": 194,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L194"
              },
              "summary": ""
            },
            {
              "description": "Mapping name.",
              "examples": [],
              "id": "helia_edge.importers.mapping.WeightMapping.name",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "name",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "name: str",
              "source": {
                "line": 196,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L196"
              },
              "summary": ""
            },
            {
              "description": "The pinned source file and its format.",
              "examples": [],
              "id": "helia_edge.importers.mapping.WeightMapping.source",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "source",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "source: SourcePin",
              "source": {
                "line": 197,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L197"
              },
              "summary": ""
            },
            {
              "description": "One row per model weight.",
              "examples": [],
              "id": "helia_edge.importers.mapping.WeightMapping.rows",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "rows",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "rows: tuple[WeightRow, ...] = Field(min_length=1)",
              "source": {
                "line": 198,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L198"
              },
              "summary": ""
            },
            {
              "description": "Source tensors deliberately not imported (every other one must be used).",
              "examples": [],
              "id": "helia_edge.importers.mapping.WeightMapping.unused",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "unused",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "unused: tuple[str, ...] = ()",
              "source": {
                "line": 199,
                "path": "helia_edge/importers/mapping.py",
                "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L199"
              },
              "summary": ""
            }
          ],
          "name": "WeightMapping",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "WeightMapping()",
          "source": {
            "line": 184,
            "path": "helia_edge/importers/mapping.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/importers/mapping.py#L184"
          },
          "summary": "Every weight of one architecture, from one source format."
        }
      ]
    }
  ],
  "name": "helia_edge"
}
