Skip to content

Architecture Config

Source

Base model for the various CAREamics architectures.

ArchitectureConfig

Bases: BaseModel

Base Pydantic model for all model architectures.

The model_dump method allows removing the architecture key from the model.

architecture instance-attribute

Name of the architecture.

model_dump(**kwargs)

Dump the model as a dictionary, ignoring the architecture keyword.

Parameters:

Name Type Description Default
**kwargs Any

Additional keyword arguments from Pydantic BaseModel model_dump method.

{}

Returns:

Type Description
{str: Any}

Model as a dictionary.