class_docstr: Implementation of Config class for model configure.
  
  Args:
      config_file(str): configure filename, which is a yaml file.
      isCreate(bool): if true, create some neccessary directories to save models, log file and other outputs.
      isSave(bool): if true, save config_file in order to record the configure message.
docstr: Save config file so that we can know the config when we look back
          
docstr_tok: ["Save","config","file","so","that","we","can","know","the","config","when","we","look","back"]
code: def save_config_file(self):
      """Save config file so that we can know the config when we look back"""
      filename = self.config_file.split("/")[-1]
      targetpath = self.config["trainer"]["args"]["save_dir"]
      shutil.copyfile(self.config_file, targetpath + filename)
  
file_path: PGL/legacy/examples/GATNE/utils.py
imports: import datetime
  import os
  import yaml
  import random
  import shutil
label_desc: Use image node_id 4 for calling the Config obj's underlying member method code with example usage: obj.save_config_file() without return types