code: def GetArgumentByName(net_def, arg_name):
      for arg in net_def.arg:
          if arg.name == arg_name:
              return arg
      return None
  
imports: from caffe2.python import core, scope
label_desc: Use image node_id 24 for calling a global function with example usage: GetArgumentByName(net_def, arg_name) and returns: None, arg