class_docstr: Executes segmentation-specific asserts before executing forward pass on inputs
code: def __call__(
      self,
      exec_type,
      epoch_num,
      batch_num,
      net=None,
      inputs=None,
      outputs=None,
      labels=None,
  ):
      if inputs.size()[2:] != labels.size()[1:]:
          raise AssertionError
  
imports: from enum import Enum, auto
  from .misc import is_tuple_or_list
label_desc: Use image node_id 1 for calling the SegmentationInputAsserts obj's underlying member method code with example usage: obj.__call__(exec_type, epoch_num, batch_num, net, inputs, outputs, labels) without return types