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