original_docstring: Creates and returns an instance of the model given its class name.
    
docstring: Creates and returns an instance of the model given its class name.
docstring_tokens: Creates and returns an instance of the model given its class name .
code: def load_wrapper(name):
    '''Creates and returns an instance of the model given its class name.
    '''
    # Find the model class from its name
    all_wrappers = get_wrappers()
    mdict = {wrapper.__name__: wrapper for wrapper in all_wrappers}
    if name not in mdict:
      print('Invalid wrapper index. Options are:')
      # Display a list of valid model names
      for wrapper in all_wrappers:
        print('\t* {}'.format(wrapper.__name__))
      return None
    WrapperClass = mdict[name]
  
    return WrapperClass
code_tokens: def load_wrapper ( name ) : all_wrappers = get_wrappers ( ) mdict = { wrapper . __name__ : wrapper for wrapper in all_wrappers } if name not in mdict : print ( 'Invalid wrapper index. Options are:' ) for wrapper in all_wrappers : print ( '\t* {}' . format ( wrapper . __name__ ) ) return None WrapperClass = mdict [ name ] return WrapperClass
short_docstring: Creates and returns an instance of the model given its class name.
short_docstring_tokens: Creates and returns an instance of the model given its class name .
comment: '''Creates and returns an instance of the model given its class name.
    '''$SEP$# Find the model class from its name$SEP$# Display a list of valid model names