code: def load_ckpt(model):  # load trained weights
      path = os.path.join("model", "_".join([alg_name, env_id]))
      tl.files.save_weights_to_hdf5(
          os.path.join(path, "dqn_model.hdf5"), model
      )
  
file_path: TensorLayer/examples/reinforcement_learning/tutorial_DQN.py
imports: import argparse
  import os
  import time
  import gym
  import matplotlib.pyplot
  import numpy
  import tensorflow
  import tensorlayer
label_desc: Use image node_id 4 for calling a global function with example usage: load_ckpt(model) without return types