class_docstr: Binary numpy array representation of a mask.
  
  # Arguments
      data: Mask array, with the dimensions: (num_instances, height, width)
      pad_dim: bool
code: def __init__(self, data: np.uint8, pad_dim: bool = True):
      if pad_dim and (len(data.shape) == 2):
          data = np.expand_dims(data, 0)
      self.data = data.astype(np.uint8)
  
imports: from icevision.imports import *
  from icevision.utils import *
  from PIL import Image
label_desc: Use image node_id 1 to create a new MaskArray object from inherited base classes: Mask with example: obj = MaskArray(data, pad_dim)