code: def compute_size(self):
      scratch_size = 1
      for op_def in self.net_def.op:
          mace_check(
              op_def.type in self._scratch_map,
              "The %s's scratch func is lost." % op_def.type,
          )
          size = self._scratch_map[op_def.type](op_def)
          if scratch_size < size:
              scratch_size = size
      print("micro scratch buffer size is: %s" % scratch_size)
      return scratch_size
  
imports: from py_proto import mace_pb2
  from utils.config_parser import ModelKeys
  from utils.util import mace_check
  from transform.base_converter import MaceKeyword
  from transform.base_converter import MaceOp
label_desc: Use image node_id 2 for calling the ScratchComputer obj's underlying member method code with example usage: obj.compute_size() and returns: scratch_size