{
  "$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": "CorNET heart-rate regressor from a wrist PPG window.\n\nRebuilt from Biswas et al., \"CorNET: Deep Learning Framework for PPG-Based\nHeart Rate Estimation and Biometric Identification in Ambulant Environment\",\nIEEE TBioCAS 13(2), 2019 (Sec. III, Fig. 6, Table III). The reference input\nis 8 s of band-passed, z-scored PPG at 125 Hz (1000 x 1). No code or weights\nare published, so constructed models are untrained.",
      "name": "cornet",
      "path": "helia_edge.models.cornet",
      "submodules": [],
      "summary": "CorNET heart-rate regressor from a wrist PPG window.",
      "symbols": [
        {
          "description": "Construct an untrained CorNET regressor with one linear output.\n\nEach convolution stage is Conv1D (valid, stride 1), batch normalization,\nReLU, max pooling and dropout, following Fig. 6; the paper's text\nplaces batch normalization after ReLU instead. Stride and padding are\nnot stated and are inferred from Table III's MAC counts. Every LSTM but\nthe last returns its sequence.",
          "examples": [],
          "id": "helia_edge.models.cornet.build",
          "kind": "function",
          "language": "python",
          "members": [],
          "name": "build",
          "params": [
            {
              "description": "Model parameters.",
              "name": "params",
              "type": "CorNetParams"
            },
            {
              "description": "``(time, channels)``, both known.",
              "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 ``cornet`` unless ``name`` is given.",
              "type": "keras.Model"
            }
          ],
          "signature": "build(\n    params: CorNetParams,\n    input_shape: tuple[int | None, ...],\n    *,\n    batch_size: int | None = None,\n    name: str | None = None,\n) -> keras.Model",
          "source": {
            "line": 15,
            "path": "helia_edge/models/cornet.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/models/cornet.py#L15"
          },
          "summary": "Construct an untrained CorNET regressor with one linear output."
        }
      ]
    }
  ],
  "name": "helia_edge"
}
