class_docstr: Executes segmentation-specific asserts after executing forward pass on inputs
code: def __init__(self, num_classes):
      self.num_classes = num_classes
  
imports: from enum import Enum, auto
  from .misc import is_tuple_or_list
label_desc: Use image node_id 1 to create a new SegmentationOutputAsserts object from inherited base classes: Condition with example: obj = SegmentationOutputAsserts(num_classes)