code: def _split_mask_array(mask_array: MaskArray) -> List[MaskArray]:
      """Utility to split a single ``MaskArray`` object into a list of ``MaskArray`` objects (one per mask)."""
      return [MaskArray(mask) for mask in mask_array.data]
  
imports: from dataclasses import dataclass
  from typing import Any, Callable, Dict, List, Optional, Tuple
  import numpy
  from torch import Tensor, nn
  from flash.core.data.io.input import DataKeys
  from flash.core.data.io.input_transform import InputTransform
  from flash.core.utilities.imports import _ICEVISION_AVAILABLE, _ICEVISION_GREATER_EQUAL_0_11_0, _TOPIC_IMAGE_AVAILABLE, requires
label_desc: Use image node_id 1 for calling a global function with example usage: _split_mask_array(mask_array) and returns: unknown