noether.core.schemas.models.base¶
Classes¶
Module Contents¶
- class noether.core.schemas.models.base.ModelBaseConfig(/, **data)¶
Bases:
pydantic.BaseModel- Parameters:
data (Any)
- optimizer_config: noether.core.schemas.optimizers.OptimizerConfig | None = None¶
The optimizer configuration to use for training the model. When a model is used for inference only, this can be left as None.
- initializers: list[Annotated[noether.core.schemas.initializers.AnyInitializer, Field(discriminator='kind')]] | None = None¶
List of initializers configs to use for the model.
- forward_properties: list[str] | None = []¶
List of properties to be used as inputs for the forward pass of the model. Only relevant when the train_step of the BaseTrainer is used. When overridden in a class method, this property is ignored.
- model_config¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].