class_docstr: Abstract base class used to build new callbacks.
class_docstr_tok: ["Abstract","base","class","used","to","build","new","callbacks","."]
code: def set_trainer(self, model):
      self.trainer = model
  
imports: import time
  import datetime
  import copy
  import numpy
  from dataclasses import dataclass, field
  from typing import List, Any
  import warnings
label_desc: Use image node_id 3 for calling the Callback obj's underlying member method code with example usage: obj.set_trainer(model) without return types