fhelium.compile.passes.lowering._keyswitch
Expand CKKS key switching into operations over supplied Tensor operands.
KEY_SWITCH_LOWERINGS
constant View source
python
KEY_SWITCH_LOWERINGS = tuple((CkksLoweringDefinition(name, operation, _lower_key_operation, is_default=True) for name, operation in (('rns-ntt-relinearize', ckks.RelinearizeOp), ('rns-ntt-switch-key', ckks.SwitchKeyOp), ('rns-ntt-rotate', ckks.RotateOp), ('rns-ntt-conjugate', ckks.ConjugateOp))))1