parameters: (name)
return_statement: return __sets[name]()
docstring: Get an imdb (image database) by name.
docstring_summary: Get an imdb (image database) by name.
docstring_tokens: Get an imdb ( image database ) by name .
function: def get_imdb(name):
      """Get an imdb (image database) by name."""
      if not __sets.has_key(name):
          raise KeyError('Unknown dataset: {}'.format(name))
      return __sets[name]()
function_tokens: def get_imdb ( name ) : if not __sets . has_key ( name ) : raise KeyError ( 'Unknown dataset: {}' . format ( name ) ) return __sets [ name ] ( )