class_docstr: Interface to retrieve ImageNet class indeces from class names.
  
  This class implements a dictionary like object, aiming to provide an
  easy-to-use look-up table for finding a target class index from an ImageNet
  class name.
  
  Reference:
      - ImageNet class index: https://s3.amazonaws.com/deep-learning-models/image-models/imagenet_class_index.json
      - Synsets: http://image-net.org/challenges/LSVRC/2015/browse-synsets
  
  Note:
      Class names in `imagenet_class_index.json` has been slightly modified
      from the source due to duplicated class names (e.g. crane). This helps
      make the use of this tool simpler.
class_docstr_tok: ["Interface","to","retrieve","ImageNet","class","indeces","from","class","names",".","This","class","implements","a","dictionary","like","object",",","aiming","to","provide","an","easy-to-use","look-up","table","for","finding","a","target","class","index","from","an","ImageNet","class","name",".","Reference",":","-","ImageNet","class","index",":","https",":","\/\/s3.amazonaws.com\/deep-learning-models\/image-models\/imagenet_class_index.json","-","Synsets",":","http",":","\/\/image-net.org\/challenges\/LSVRC\/2015\/browse-synsets","Note",":","Class","names","in","`","imagenet_class_index.json","`","has","been","slightly","modified","from","the","source","due","to","duplicated","class","names","(","e.g",".","crane",")",".","This","helps","make","the","use","of","this","tool","simpler","."]
code: def __iter__(self):
      return iter(self._index)
  
file_path: flashtorch/flashtorch/utils/imagenet.py
imports: import json
  from collections.abc import Mapping
  from importlib_resources import path
  from .None import resources
label_desc: Use image node_id 3 for calling the ImageNetIndex obj's underlying member method code with example usage: obj.__iter__() and returns: iter