mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
- allows users to do import hdk.numpy as hnp and use hnp for everything - update notebooks and docs
24 lines
657 B
Python
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
|