mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-08 19:44:57 -05:00
fix: sanity check script used during release
This commit is contained in:
@@ -5,7 +5,7 @@ import pygraphviz
|
||||
|
||||
print("Extras import check OK")
|
||||
|
||||
import concrete.numpy as hnp
|
||||
import concrete.numpy as cnp
|
||||
|
||||
|
||||
def main():
|
||||
@@ -14,14 +14,14 @@ def main():
|
||||
|
||||
n_bits = 3
|
||||
|
||||
compiler = hnp.NPFHECompiler(
|
||||
compiler = cnp.Compiler(
|
||||
function_to_compile,
|
||||
{"x": "encrypted"},
|
||||
)
|
||||
|
||||
print("Compiling...")
|
||||
|
||||
engine = compiler.compile_on_inputset(range(2 ** n_bits))
|
||||
engine = compiler.compile(range(2 ** n_bits))
|
||||
|
||||
inputs = []
|
||||
labels = []
|
||||
|
||||
Reference in New Issue
Block a user