shape

Engine.shape
The input shape of the engine. Ciphertexts are generated in units of this shape.
  • Input:
    • None
  • Type:
    • tuple[int, ...]
from desilofhe import Engine

vector_engine = Engine()

shape = vector_engine.shape  # (8192,)

matrix_engine = Engine(form="matrix")

shape = matrix_engine.shape  # (256, 32, 32)