code: def on_batch_end(self, batch, logs=None):
      self.container.reset()
  
imports: import torch
  from fnmatch import fnmatch
  from .callbacks import Callback
label_desc: Use image node_id 2 for calling the RegularizerCallback obj's underlying member method code with example usage: obj.on_batch_end(batch, logs) without return types