utils
Convert methods.
Functions:
| Name | Description |
|---|---|
convert_payload |
Convert ModuleState from xpdeep_types to the database model. |
convert_serialized_module |
Convert from xpdeep-types to xpdeep-api-client type. |
convert_payload(payload: ModuleState | TorchArtifact) -> ModuleStateDatabase | TorchArtifactDatabase
#
Convert ModuleState from xpdeep_types to the database model.
Source code in src/xpdeep/model/utils.py
convert_serialized_module(module: SerializedModule) -> SerializedModuleInput
#
Convert from xpdeep-types to xpdeep-api-client type.