{
  "$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": "Random seeds and ID schedules.",
      "name": "rng",
      "path": "helia_edge.utils.rng",
      "submodules": [],
      "summary": "Random seeds and ID schedules.",
      "symbols": [
        {
          "description": "Set Python, NumPy and selected Keras backend seeds; return the seed.",
          "examples": [],
          "id": "helia_edge.utils.rng.set_random_seed",
          "kind": "function",
          "language": "python",
          "members": [],
          "name": "set_random_seed",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "set_random_seed(seed: int | None = None) -> int",
          "source": {
            "line": 9,
            "path": "helia_edge/utils/rng.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/utils/rng.py#L9"
          },
          "summary": "Set Python, NumPy and selected Keras backend seeds; return the seed."
        },
        {
          "description": "Yield each ID once per cycle; shuffle mutates the supplied sequence.",
          "examples": [],
          "id": "helia_edge.utils.rng.uniform_id_generator",
          "kind": "function",
          "language": "python",
          "members": [],
          "name": "uniform_id_generator",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "uniform_id_generator(ids: MutableSequence[T], repeat: bool = True, shuffle: bool = True) -> Generator[T, None, None]",
          "source": {
            "line": 20,
            "path": "helia_edge/utils/rng.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/utils/rng.py#L20"
          },
          "summary": "Yield each ID once per cycle; shuffle mutates the supplied sequence."
        },
        {
          "description": "Sample with replacement, using optional nonnegative relative weights.",
          "examples": [],
          "id": "helia_edge.utils.rng.random_id_generator",
          "kind": "function",
          "language": "python",
          "members": [],
          "name": "random_id_generator",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "random_id_generator(ids: Sequence[T], weights: Sequence[float] | None = None) -> Generator[T, None, None]",
          "source": {
            "line": 34,
            "path": "helia_edge/utils/rng.py",
            "url": "https://github.com/AmbiqAI/helia-edge/blob/f341fb11f7f5d77a4974ba8273c4cd55d67c21f0/helia_edge/utils/rng.py#L34"
          },
          "summary": "Sample with replacement, using optional nonnegative relative weights."
        }
      ]
    }
  ],
  "name": "helia_edge"
}
