Skip to main content

Module bake_pipeline

Module bake_pipeline 

Source
Expand description

Cold-path NQuin → Tensor10D baking (ingest / encode tier).

Hot-path queries read baked SOA volumes; this module runs at ingest only.

Constants§

PRED_GEO_VERTEX
PRED_HAS_SPECTRAL_SHEET
Bake-time link to mmap STFT/CQT sidecar (spectral/audio/{hash}.bin).

Functions§

audio_sidecar_relpath
Relative sidecar path under storage root — zero-heap (spectral/audio/{hash:016x}.bin).
bake_quin_to_tensor
Bake a single NQuin into a ground-truth Tensor10D node.
bake_quins_into
Write baked tensors into caller buffer; returns count written.
decode_packed_coord
Decode spatial_encode_wasm packed coordinates from an object field.
is_geo_vertex_quin
True when the Quin carries a baked geo vertex payload (not a hash-proxy xyz).
semantic_xyz_from_nquin
Semantic xyz: packed geo coords when present, else legacy hash spread.
sigma_sheet_index_from_nquin
σ sheet index from baked NQuin object when q42:hasSpectralSheet is present.