fhelium.eager._operation_dispatch
Select and cache Backend calls for graph-free Eager operations.
_EagerOperationDispatcher
class View source
python
_EagerOperationDispatcher(*, device_resources: CkksDeviceResources, backend: OperationBackend)1
Dispatch graph-free Eager operations through one device's Backend.
rns_context
property
python
rns_context: RnsContext1
ntt_context
property
python
ntt_context: NttContext1
rng
property
python
rng: Csprng1
key_generation
property
python
key_generation: KeyGenerationResource1
materialize_all
method
python
def materialize_all() -> None: ...1
Make every built-in CKKS binding available to Program builders.
execute
method
python
def execute(operation_type: type[Operation], *inputs: torch.Tensor, attributes: Mapping[str, object] | None=None, bases: Sequence[str | None]=(), prime_ids: tuple[int, ...]=(), result_count: int=1, implementation: str | None=None, in_place: bool=False) -> torch.Tensor | tuple[torch.Tensor, ...]: ...1
Execute one registered operation through this device's Backend.