fhelium.compile._materials
Describe numerical materials and optionally prepare missing Tensor bindings.
prepare_material_bindings
function View source
python
def prepare_material_bindings(compilation: Compilation, *, resources: CkksDeviceResources | RnsContext | NttContext | Iterable[CkksDeviceResources | RnsContext | NttContext]=(), keys: Mapping[object, object] | Iterable[object] | EvaluationKeySet=()) -> tuple[str, ...]: ...1
Fill only missing bindings from supplied data providers and keys.
Descriptions guide this optional selection step. Named key entries matching a symbol or its label are direct assignments, without metadata checks. Semantic selection accepts one distinct candidate and leaves absent or ambiguous candidates unresolved. Existing bindings are never inspected or overwritten. The returned symbols remain unbound. No keys are generated.