docstr: Returns mask shape as [height, width]
docstr_tok: ["Returns","mask","shape","as","[","height",",","width","]"]
code: def shape(self):
      """
      Returns mask shape as [height, width]
      """
      return [self.bool_mask.shape[0], self.bool_mask.shape[1]]
  
imports: import copy
  from typing import Dict, List, Optional
  import numpy
  from sahi.utils.coco import CocoAnnotation, CocoPrediction
  from sahi.utils.cv import get_bbox_from_bool_mask, get_bool_mask_from_coco_segmentation, get_coco_segmentation_from_bool_mask
  from sahi.utils.shapely import ShapelyAnnotation
label_desc: Use image node_id 7 for calling the Mask obj's underlying member method code with example usage: obj.shape() and returns: list