scglue.models.base.Model.compile

Model.compile(*args, **kwargs)[source]

Prepare model for training

Parameters:
  • trainer – Trainer type

  • *args – Positional arguments are passed to the trainer constructor

  • **kwargs – Keyword arguments are passed to the trainer constructor

Return type:

None

Note

Subclasses may override arguments for API definition.