Skip to content

Latest commit

 

History

History
71 lines (33 loc) · 1.8 KB

concrete.fhe.compilation.value.md

File metadata and controls

71 lines (33 loc) · 1.8 KB

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