code: def remove_mem_block_by_name(self, mem_list, tensor_name):
      return_mem_block = None
      for mem_block in mem_list:
          if tensor_name == mem_block.tensor_name:
              return_mem_block = mem_block
              mem_list.remove(mem_block)
              break
      return return_mem_block
  
file_path: mace/tools/python/micro/mem_computer.py
imports: from utils.convert_util import data_type_to_np_dt
  from utils.util import mace_check
  import numpy
label_desc: Use image node_id 4 for calling the MemComputer obj's underlying member method code with example usage: obj.remove_mem_block_by_name(mem_list, tensor_name) and returns: return_mem_block