class_docstr: Dataset with additional indexing information.
docstr: Return a read-only view of the index.
docstr_tok: ["Return","a","read-only","view","of","the","index","."]
code: def index(self) -> Mapping[ExampleId, IndexedInput]:
      """Return a read-only view of the index."""
      return types.MappingProxyType(self._index)
  
imports: from collections.abc import Callable, Mapping, Sequence
  import hashlib
  import glob
  import inspect
  import os
  import random
  import types
  from typing import Optional, Union, cast
  from absl import logging
  from lit_nlp.api import types
  from lit_nlp.lib import serialize
  from lit_nlp.lib import utils
label_desc: Use image node_id 7 for calling the IndexedDataset obj's underlying member method code with example usage: obj.index() and returns: types