code: def SemanticSegmentationRecord(gray=False):
      return BaseRecord(
          (
              FilepathRecordComponent(gray=gray),
              ClassMapRecordComponent(task=tasks.segmentation),
              SemanticMaskRecordComponent(),
          )
      )
  
file_path: icevision/icevision/core/record_defaults.py
imports: from icevision.core.record import *
  from icevision.core.record_components import *
  from icevision.core import tasks
label_desc: Use image node_id 3 for calling a global function with example usage: SemanticSegmentationRecord(gray) and returns: BaseRecord