sccross.models.utils.Model¶
-
class
sccross.models.utils.Model(*args, **kwargs)[source]¶ Bases:
objectAbstract model class
- Parameters
net – Network type
*args – Positional arguments are passed to the network constructor
**kwargs – Keyword arguments are passed to the network constructor
Note
Subclasses may override arguments for API definition.
Methods
Prepare model for training
Alias of
.trainer.fit.Alias of
.trainer.get_losses.Load model from file
Save model to file
Attributes
loggernetNeural network module in the model (read-only)
trainerTrainer of the neural network module (read-only)