class_docstr: trpo class
class_docstr_tok: ["trpo","class"]
docstr: save trained weights
  :return: None
docstr_tok: ["save","trained","weights",":","return",":","None"]
code: def save(self):
      """
      save trained weights
      :return: None
      """
      path = os.path.join("model", "_".join([ALG_NAME, ENV_ID]))
      if not os.path.exists(path):
          os.makedirs(path)
      tl.files.save_weights_to_hdf5(
          os.path.join(path, "actor.hdf5"), self.actor
      )
      tl.files.save_weights_to_hdf5(
          os.path.join(path, "critic.hdf5"), self.critic
      )
  
imports: import argparse
  import copy
  import os
  import threading
  import time
  import gym
  import matplotlib.pyplot
  import numpy
  import scipy.signal
  import tensorflow
  import tensorflow_probability
  import tensorlayer
label_desc: Use image node_id 10 for calling the TRPO obj's underlying member method code with example usage: obj.save() without return types