tabensemb.trainer.Trainer.detach_modelbase#

method

Trainer.detach_modelbase(program: str, verbose: bool = True) Trainer[source]#

Detach the selected model base to a separate Trainer and save it to another directory. It is much cheaper than copy() if only one model base is needed. If any external model is required, please use :meth:detach_model to detach a single model.

Parameters:
program

The selected model base.

verbose

Verbosity

Returns:
Trainer

A Trainer with the selected model base.