twinlab.Emulator.lock#

Emulator.lock(verbose=True)[source]#

Lock the emulator to prevent further training.

This method will lock the emulator, preventing further training or deleting.

Parameters:

verbose (bool, optional) – Display confirmation.

Return type:

None

Examples

emulator = tl.Emulator("emulator_id")
emulator.lock()