{
  "$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": "Faithful scale-1 MLPerf Tiny architectures with newly initialized weights.\n\nPinned topology and licensing: https://ambiqai.github.io/helia-edge/examples/mlperf-tiny/ and models/licenses/.\nAdapted from MLCommons Tiny (Apache-2.0); anomaly detector originally\nCopyright (c) 2020 Hitachi, Ltd. (MIT). Changes: Keras 3 API, fixed captured\nshapes/configurations, explicit layer names, no training or weight downloads.\nThese constructors do not provide official trained weights or accuracy claims.",
      "name": "mlperf_tiny",
      "path": "helia_edge.models.mlperf_tiny",
      "submodules": [],
      "summary": "Faithful scale-1 MLPerf Tiny architectures with newly initialized weights.",
      "symbols": [
        {
          "description": "Build a faithful MLPerf Tiny architecture without loading or converting weights.",
          "examples": [],
          "id": "helia_edge.models.mlperf_tiny.build",
          "kind": "function",
          "language": "python",
          "members": [],
          "name": "build",
          "params": [
            {
              "description": "The architecture: ``kws``, ``vww``, ``resnet`` or ``ad``.",
              "name": "params",
              "type": "MlperfTinyParams"
            },
            {
              "default": "None",
              "description": "None, or the architecture's fixed input shape.",
              "name": "input_shape",
              "type": "tuple[int | None, ...] | None"
            },
            {
              "default": "None",
              "description": "Static batch size; None for a dynamic batch.",
              "name": "batch_size",
              "type": "int | None"
            },
            {
              "default": "None",
              "description": "Model name; the family when None.",
              "name": "name",
              "type": "str | None"
            }
          ],
          "raises": [],
          "returns": [
            {
              "description": "keras.Model: The model, named ``mlperf_tiny`` unless ``name`` is given.",
              "type": "keras.Model"
            }
          ],
          "signature": "build(\n    params: MlperfTinyParams,\n    input_shape: tuple[int | None, ...] | None = None,\n    *,\n    batch_size: int | None = None,\n    name: str | None = None,\n) -> keras.Model",
          "source": {
            "line": 187,
            "path": "helia_edge/models/mlperf_tiny.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/models/mlperf_tiny.py#L187"
          },
          "summary": "Build a faithful MLPerf Tiny architecture without loading or converting weights."
        }
      ]
    }
  ],
  "name": "helia_edge"
}
