fhelium.backend.ckks.codec._codec
CKKS coefficient quantization and slot reconstruction over supplied tables.
decode_tensor
function View source
python
def decode_tensor(coefficients: torch.Tensor, post: torch.Tensor, skewer: torch.Tensor, *, scale: float, is_real: bool) -> torch.Tensor: ...1
encode_tensor
function View source
python
def encode_tensor(message: torch.Tensor, pre: torch.Tensor, twister: torch.Tensor, rounding_state: torch.Tensor, *, scale: float) -> torch.Tensor: ...1