Skip to content
heliaEDGE
Reference
HELIA

sample

Typed containers for tensor payloads; record metadata stays with the caller.

Machine-readable model

  • Tconstant
  • TensorPayloadclassTwo-level tensor-only schema accepted by portable preprocessing layers.
  • SampleclassLive tensor facade, not a serializable model config or an immutable tensor.
class

Sample

Python

Live tensor facade, not a serializable model config or an immutable tensor.

helia_edge/layers/preprocessing/sample.py:17

Sample(signals: dict[str, T], targets: dict[str, T] = dict(), masks: dict[str, T] = dict()) -> None

dataclass

Live tensor facade, not a serializable model config or an immutable tensor.

Conversion creates new dictionaries but never copies tensor storage. Keys in each group name tensor leaves. Keep record IDs and other metadata outside this object, and pass sample.tensor_tree() to a Keras layer.