code: def parse_json(args):
      with open(args.json) as json_file:
          params = json.load(json_file)
  
      # Overwriting
      if "algo_name" in params:
          args.algo_name = params["algo_name"]
      if "dataset_type" in params:
          args.dataset_type = params["dataset_type"]
      if "n_samples" in params:
          args.n_samples = params["n_samples"]
      if "n_features" in params:
          args.n_features = params["n_features"]
      if "dataset_format" in params:
          args.dataset_format = params["dataset_format"]
      if "data_kwargs" in params:
          args.data_kwargs = params["data_kwargs"]
      if "setup_kwargs" in params:
          args.setup_kwargs = params["setup_kwargs"]
      if "training_kwargs" in params:
          args.training_kwargs = params["training_kwargs"]
      if "inference_kwargs" in params:
          args.inference_kwargs = params["inference_kwargs"]
  
imports: import argparse
  import json
  from cuml.benchmark import datagen, algorithms
  from cuml.benchmark.automated.utils.utils import setup_bench
label_desc: Use image node_id 1 for calling a global function with example usage: parse_json(args) without return types