Skip to content

Commit

Permalink
Merge pull request #1188 from zama-ai/tfhers-bridge-module
Browse files Browse the repository at this point in the history
Extend TFHE-rs bridge to support modules
  • Loading branch information
youben11 authored Dec 19, 2024
2 parents 062f5cb + 559b0fb commit 534a9ae
Show file tree
Hide file tree
Showing 6 changed files with 408 additions and 95 deletions.
2 changes: 1 addition & 1 deletion docs/guides/tfhers/shared-key.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ decoded = tfhers_type.decode(result)
We are going to create a TFHE-rs bridge that facilitates the seamless transfer of ciphertexts and keys between Concrete and TFHE-rs.

```python
tfhers_bridge = tfhers.new_bridge(circuit=circuit)
tfhers_bridge = tfhers.new_bridge(circuit)
```

## Key generation
Expand Down
7 changes: 0 additions & 7 deletions frontends/concrete-python/concrete/fhe/compilation/circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@ def __init__(self, module: FheModule):
def _function(self) -> FheFunction:
return getattr(self._module, self._name)

@property
def function_name(self) -> str:
"""
Return the name of the circuit.
"""
return self._name

def __str__(self):
return self._function.graph.format()

Expand Down
Loading

0 comments on commit 534a9ae

Please sign in to comment.