code: def load_npz_file_to_model(npz_filename="model.npz"):
      # Create model object first
      model1 = model.MLP()
  
      # Load the saved parameters into the model object
      chainer.serializers.load_npz(npz_filename, model1)
      print("{} loaded!".format(npz_filename))
  
      return model1
  
imports: import chainer
  import numpy
  import model
label_desc: Use image node_id 1 for calling a global function with example usage: load_npz_file_to_model(npz_filename) and returns: model1