code: def register(cls, configurator_class):
      cls.configurator_dict[
          configurator_class.__name__
      ] = configurator_class
      return configurator_class
  
file_path: jiant/jiant/proj/main/scripts/configurator.py
imports: import math
  import os
  import torch
  import jiant.utils.zconf
  import jiant.utils.python.io
  import jiant.utils.python.datastructures
label_desc: Use image node_id 1 for calling the Registry obj's underlying member method code with example usage: obj.register(cls, configurator_class) and returns: configurator_class