Skip to content

Commit

Permalink
docs(frontend): review
Browse files Browse the repository at this point in the history
  • Loading branch information
bcm-at-zama committed Jun 24, 2024
1 parent 9129540 commit f4ff88a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class MyModule:
@fhe.function({"x": "encrypted", "y": "encrypted"})
def equal(x, y):
return fhe.univariate(lambda x: x == 0)(x - y)
return x == y

@fhe.function(
{
Expand Down Expand Up @@ -87,6 +87,8 @@ def map_string_to_int(s):
show_mlir=True,
p_error=10**-20,
show_optimizer=True,
comparison_strategy_preference=fhe.ComparisonStrategy.ONE_TLU_PROMOTED,
min_max_strategy_preference=fhe.MinMaxStrategy.ONE_TLU_PROMOTED,
)


Expand Down

0 comments on commit f4ff88a

Please sign in to comment.