code: def remove_bridge_module_state_dic(load_state_dict, curr_state_dict):
      curr_keys = list(curr_state_dict.keys())
      new_state_dict = OrderedDict()
      for k, v in load_state_dict.items():
          if k in curr_keys:
              new_state_dict[k] = v
      return new_state_dict
  
imports: from collections import OrderedDict
  import torch
label_desc: Use image node_id 3 for calling a global function with example usage: remove_bridge_module_state_dic(load_state_dict, curr_state_dict) and returns: new_state_dict