For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

concrete.ml.common.serialization.dumpers.md

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.

Last updated

Was this helpful?