{
  "$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": "TimePPG heart-rate regressor from PPG and accelerometer windows.\n\nAdapted from eml-eda/q-ppg (revision ddf3866d,\nprecision_search/model/TimePPG_float.py). Inputs are channels-last\n(time, channels) windows; the reference uses 256 samples of BVP at 32 Hz plus\nthree accelerometer axes. Constructors initialize weights only: upstream\npublishes no trained checkpoints, so these models are untrained.",
      "name": "timeppg",
      "path": "helia_edge.models.timeppg",
      "submodules": [],
      "summary": "TimePPG heart-rate regressor from PPG and accelerometer windows.",
      "symbols": [
        {
          "description": "Construct an untrained TimePPG regressor with one linear output.\n\nThe input is ``(time, channels)`` with a known time length that survives the 64x downsampling. The\nflattened features are channel-major, matching the upstream PyTorch layout.",
          "examples": [],
          "id": "helia_edge.models.timeppg.build",
          "kind": "function",
          "language": "python",
          "members": [],
          "name": "build",
          "params": [
            {
              "description": "Model parameters.",
              "name": "params",
              "type": "TimePPGParams"
            },
            {
              "description": "``(time, channels)``, both known, time at least 64.",
              "name": "input_shape",
              "type": "tuple[int | 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 ``timeppg`` unless ``name`` is given.",
              "type": "keras.Model"
            }
          ],
          "signature": "build(\n    params: TimePPGParams,\n    input_shape: tuple[int | None, ...],\n    *,\n    batch_size: int | None = None,\n    name: str | None = None,\n) -> keras.Model",
          "source": {
            "line": 43,
            "path": "helia_edge/models/timeppg.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/models/timeppg.py#L43"
          },
          "summary": "Construct an untrained TimePPG regressor with one linear output."
        }
      ]
    }
  ],
  "name": "helia_edge"
}
