code: def init_output_cache(self):
      model_outputs = []
      for output_info in self.net_def.output_info:
          model_outputs.append(output_info.name)
      self.output_cache = {}
      self.output_infos = []
      for i in range(len(self.net_def.op)):
          op_def = self.net_def.op[i]
          for k in range(len(op_def.output)):
              tensor_name = op_def.output[k]
              output_info_uint = ((i & 0x0000FFFF) << 16) | (
                  k & 0x0000FFFF
              )
              if tensor_name in model_outputs:
                  self.output_infos.append(output_info_uint)
              else:
                  self.output_cache[tensor_name] = output_info_uint
  
file_path: mace/tools/python/micro/graph_builder.py
imports: from py_proto import micro_mem_pb2
  from utils.util import mace_check
label_desc: Use image node_id 2 for calling the GraphBuilder obj's underlying member method code with example usage: obj.init_output_cache() without return types