read
Engine.read_plain_matrix(file_path)- Creates a plain matrix by reading data from a file.
- Input:
- file_path: str or pathlib.Path
- Can be an absolute or relative path.
- file_path: str or pathlib.Path
- Output:
- PlainMatrix
Examples
Using an absolute path
from desilofhe import Engine
engine = Engine(slot_count=64)
plain_matrix = engine.read_plain_matrix("/opt/desilo/plain_matrix")
Using a relative path