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:

  • **kwargs (Any, default: {} ) –

    Additional keyword arguments from Pydantic BaseModel model_dump method.

Returns:

  • {str: Any}

    Model as a dictionary.