class_docstr: Arguments class
  
  Store arguments in training / infer / ... scripts.
class_docstr_tok: ["Arguments","class","Store","arguments","in","training","\/","infer","\/","...","scripts","."]
code: def load(self, filename, group_name=None):
      if group_name is not None:
          if group_name not in self:
              self[group_name] = Args()
          self[group_name].load(filename)
          return
      with open(filename, "r") as fp:
          params_dict = json.load(fp)
      for k, v in params_dict.items():
          if isinstance(v, dict):
              self[k].update(Args(v))
          else:
              self[k] = v
  
file_path: PaddleHub/modules/text/text_generation/plato2_en_base/utils/args.py
imports: import argparse
  import json
label_desc: Use image node_id 5 for calling the Args obj's underlying member method code with example usage: obj.load(filename, group_name) without return types