(self, name, directory=None)
Saves the model checkpoint, .npz file, and reward plots.

    Args:
      name: Name of the model that will be used on the images,
        checkpoint, and .npz files.
      directory: Path to directory where files will be saved.
        If None defaults to self.output_dir.
Saves the model checkpoint, .npz file, and reward plots.
Saves the model checkpoint . npz file and reward plots .
def save_model_and_figs(self, name, directory=None):
    """Saves the model checkpoint, .npz file, and reward plots.

    Args:
      name: Name of the model that will be used on the images,
        checkpoint, and .npz files.
      directory: Path to directory where files will be saved.
        If None defaults to self.output_dir.
    """

    self.save_model(name, directory=directory)
    self.plot_rewards(image_name='TrainRewards-' + name + '.eps',
                      directory=directory)
    self.plot_evaluation(image_name='EvaluationRewards-' + name + '.eps',
                         directory=directory)
    self.plot_target_vals(image_name='TargetVals-' + name + '.eps',
                          directory=directory)
def save_model_and_figs ( self , name , directory = None ) : self . save_model ( name , directory = directory ) self . plot_rewards ( image_name = 'TrainRewards-' + name + '.eps' , directory = directory ) self . plot_evaluation ( image_name = 'EvaluationRewards-' + name + '.eps' , directory = directory ) self . plot_target_vals ( image_name = 'TargetVals-' + name + '.eps' , directory = directory )