class_docstr: Configuration object used to store configurable parameters for FATE.
  
  This class is a modified copy of CrypTenConfig
  in https://github.com/facebookresearch/CrypTen/blob/main/crypten/config/config.py
class_docstr_tok: ["Configuration","object","used","to","store","configurable","parameters","for","FATE",".","This","class","is","a","modified","copy","of","CrypTenConfig","in","https",":","\/\/github.com\/facebookresearch\/CrypTen\/blob\/main\/crypten\/config\/config.py"]
code: def __init__(self, config_file=None):
      if config_file is None:
          config_file = Config.__DEFAULT_CONFIG_PATH
  
      # Use yaml to open stream for safe load
      with open(config_file) as stream:
          config_dict = yaml.safe_load(stream)
      self.config = OmegaConf.create(config_dict)
  
file_path: FATE/python/fate/arch/config/_config.py
imports: import os
  from contextlib import contextmanager
  from omegaconf import OmegaConf
  from ruamel import yaml
label_desc: Use image node_id 1 to create a new Config object from inherited base classes: object with example: obj = Config(config_file)