architecture_model
Base model for the various CAREamics architectures.
ArchitectureModel #
Bases: BaseModel
Base Pydantic model for all model architectures.
The model_dump method allows removing the architecture key from the model.
Source code in src/careamics/config/architectures/architecture_model.py
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. |