mirror of
https://github.com/zama-ai/concrete.git
synced 2026-01-14 23:38:10 -05:00
1.8 KiB
1.8 KiB
module concrete.fhe.compilation.value
Declaration of Value class.
class Value
Value class, to store scalar or tensor values which can be encrypted or clear.
method __init__
__init__(inner: Value)
method deserialize
deserialize(serialized_data: bytes) → Value
Deserialize data from bytes.
Args: serialized_data (bytes): previously serialized data
Returns: Value: deserialized data
method serialize
serialize() → bytes
Serialize data into bytes.
Returns: bytes: serialized data