File size: 355 Bytes
cff2458
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class SamplePlugin:
    def __init__(self):
        print("SamplePlugin initialized.")

    def modify_model(self, model):
        print("SamplePlugin: Modifying the model.")
        return model

    def on_train_start(self):
        print("SamplePlugin: Training started.")

    def on_train_end(self):
        print("SamplePlugin: Training finished.")