Files
concrete/docs/dev/api/concrete.fhe.compilation.value.md
2024-12-24 14:08:08 +01:00

57 lines
1.5 KiB
Markdown

<!-- markdownlint-disable -->
<a href="../../frontends/concrete-python/concrete/fhe/compilation/value.py#L0"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
# <kbd>module</kbd> `concrete.fhe.compilation.value`
Declaration of `Value` class.
---
<a href="../../frontends/concrete-python/concrete/fhe/compilation/value.py#L10"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
## <kbd>class</kbd> `Value`
A public value object that can be sent between client and server.
<a href="../../frontends/concrete-python/concrete/fhe/compilation/value.py#L17"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
### <kbd>method</kbd> `__init__`
```python
__init__(inner: TransportValue)
```
---
<a href="../../frontends/concrete-python/concrete/fhe/compilation/value.py#L20"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
### <kbd>method</kbd> `deserialize`
```python
deserialize(buffer: bytes) Value
```
Deserialize a Value from bytes.
---
<a href="../../frontends/concrete-python/concrete/fhe/compilation/value.py#L27"><img align="right" style="float:right;" src="https://img.shields.io/badge/-source-cccccc?style=flat-square"></a>
### <kbd>method</kbd> `serialize`
```python
serialize() bytes
```
Serialize a Value to bytes.