serialized_nbytes
LightPlainMatrix.serialized_nbytes
- Shows the size of a light plain matrix when serialized.
import numpy as np
from desilofhe import Engine
engine = Engine(slot_count=64)
message = np.arange(64 * 64).reshape(64, 64)
light_plain_matrix = engine.encode_to_light_plain_matrix(message)
serialized_nbytes = light_plain_matrix.serialized_nbytes