code: def clear(self):
      # 图像HWC格式
      self.detimg = None  # 宫格初始图像
      self.grid_init = False  # 是否初始化了宫格
      # self.imagesGrid = []  # 图像宫格
      self.mask_grids = []  # 标签宫格
      self.json_labels = []  # 保存标签
      self.grid_count = None  # (row count, col count)
      self.curr_idx = None
  
file_path: PaddleSeg/EISeg/eiseg/plugin/n2grid/grid.py
imports: import math
  import numpy
  from PIL import Image
label_desc: Use image node_id 2 for calling the Grids obj's underlying member method code with example usage: obj.clear() without return types