code: def fill_config(args):
      # dirty work
      args.device = torch.device(args.gpu)
      args.dec_ninp = args.nhid * 3 if args.title else args.nhid * 2
      args.fnames = [args.train_file, args.valid_file, args.test_file]
      return args
  
imports: import argparse
  import torch
label_desc: Use image node_id 1 for calling a global function with example usage: fill_config(args) and returns: args