code: def save_config(self, save_path, print_info=True):
      os.makedirs(save_path, exist_ok=True)
      net_save_path = os.path.join(save_path, "net.config")
      json.dump(
          self.net_config.get_config(),
          open(net_save_path, "w"),
          indent=4,
      )
      if print_info:
          print("Network configs dump to %s" % save_path)
      run_save_path = os.path.join(save_path, "run.config")
      json.dump(
          self.run_config.get_config(),
          open(run_save_path, "w"),
          indent=4,
      )
      if print_info:
          print("Run configs dump to %s" % run_save_path)
  
imports: import os
  import shutil
  import tensorflow
  import numpy
  import time
  from datetime import timedelta
  import json
  import pickle
label_desc: Use image node_id 10 for calling the BasicModel obj's underlying member method code with example usage: obj.save_config(save_path, print_info) without return types