vak.models.decoratorΒΆ
Decorator that makes a vak.models.ModelFactory
,
given a definition of the model,
and a lightning.LightningModule
that represents a
family of models that the new model belongs to.
The function returns a new instance of vak.models.ModelFactory
,
that can create new instances of the model with its
from_config()
and
from_instances()
methods.
Functions
|
Decorator that makes a |
Exceptions
Exception raised when validating a model definition fails. |