shape

Engine.shape
엔진의 인풋 형상입니다. 이 형상 단위로 암호문을 생성할 수 있습니다.
  • 인풋:
    • 없음
  • 타입:
    • 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)