code: def before_batch(self):
      assert (
          len(self.xb) == len(self.yb) == 1
      ), "Only works for single input-output"
      self.learn.xb = self.xb[0]
      self.learn.records = self.yb[0]
      self.learn.yb = ()
  
file_path: icevision/icevision/models/torchvision/fastai_callbacks.py
imports: from icevision.imports import *
  from icevision.engines.fastai import *
label_desc: Use image node_id 2 for calling the RCNNCallback obj's underlying member method code with example usage: obj.before_batch() without return types