mirror of
https://github.com/luxfi/fhe-ml.git
synced 2026-10-30 19:52:59 +00:00
1.3 KiB
1.3 KiB
module concrete.ml.common.serialization.dumpers
Dump functions for serialization.
function dumps
dumps(obj: Any) → str
Dump any object as a string.
Arguments:
obj(Any): Object to dump.
Returns:
str: A string representation of the object.
function dump
dump(obj: Any, file: <class 'TextIO'>)
Dump any Concrete ML object in a file.
Arguments:
obj(Any): The object to dump.file(TextIO): The file to dump the serialized object into.