code: def before_run(self, runner):
      runner.num_epochs = math.ceil(
          self.max_step / len(runner.train_loader)
      )
  
imports: from bigdl.orca.learn.pytorch.callbacks import Callback
  import math
label_desc: Use image node_id 2 for calling the MaxstepsCallback obj's underlying member method code with example usage: obj.before_run(runner) without return types