Files
concrete/hdk/numpy/__init__.py
Arthur Meyre 97ce55447f refactor: modify the imports to have everything in numpy
- allows users to do import hdk.numpy as hnp and use hnp for everything
- update notebooks and docs
2021-09-03 09:58:00 +02:00

24 lines
657 B
Python

"""Module for compiling numpy functions to homomorphic equivalents."""
from ..common.compilation import CompilationArtifacts, CompilationConfiguration
from ..common.data_types import (
Float,
Float32,
Float64,
Integer,
SignedInteger,
UnsignedInteger,
)
from ..common.debugging import draw_graph, get_printable_graph
from ..common.extensions.table import LookupTable
from ..common.values import (
ClearScalar,
ClearTensor,
EncryptedScalar,
EncryptedTensor,
ScalarValue,
TensorValue,
)
from .compile import compile_numpy_function, compile_numpy_function_into_op_graph
from .tracing import trace_numpy_function