File size: 385 Bytes
cff2458 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
class ExamplePlugin:
def __init__(self):
print("ExamplePlugin initialized.")
def modify_model(self, model):
print("ExamplePlugin: Modifying the model.")
return f"{model}_modified_by_example"
def on_train_start(self):
print("ExamplePlugin: Training started.")
def on_train_end(self):
print("ExamplePlugin: Training finished.")
|