mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
refacto: remove iter usage for passing a dataset
- it is still supported but not required and more confusing
This commit is contained in:
@@ -24,7 +24,7 @@ y = hnp.EncryptedScalar(hnp.UnsignedInteger(1))
|
||||
# Compile the function to its homomorphic equivalent
|
||||
engine = hnp.compile_numpy_function(
|
||||
f, {"x": x, "y": y},
|
||||
iter([(0, 0), (0, 1), (1, 0), (1, 1), (2, 0), (2, 1), (3, 0), (3, 1)]),
|
||||
[(0, 0), (0, 1), (1, 0), (1, 1), (2, 0), (2, 1), (3, 0), (3, 1)],
|
||||
)
|
||||
|
||||
# Make homomorphic inference
|
||||
|
||||
Reference in New Issue
Block a user