code: def load_weights(weight_file):
      import numpy as np
  
      if weight_file == None:
          return
  
      try:
          weights_dict = np.load(weight_file).item()
      except:
          weights_dict = np.load(weight_file, encoding="bytes").item()
  
      return weights_dict
  
imports: import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: load_weights(weight_file) and returns: weights_dict