Source code for openfhe_numpy.utils.constants

import openfhe_numpy._onp_cpp as backend
from enum import Enum

# Numerical constants
EPSILON = 1e-8
EPSILON_HIGH = 1e-4


# Types of data representation
[docs] class DataType: PLAINTEXT = "P" CIPHERTEXT = "C"
# Default format result
[docs] class UnpackType(Enum): RAW = "raw" ORIGINAL = "original" RESHAPE = "reshape"