class_docstr: Utils to query split/scenes info.
class_docstr_tok: ["Utils","to","query","split\/scenes","info","."]
docstr: Returns the mapping split->index `{'train': 0, 'test': 1}`.
docstr_tok: ["Returns","the","mapping","split-",">","index","`","{","'train","'",":","0",",","'test","'",":","1","}","`","."]
code: def _split_name_to_split_index(self) -> dict[str, int]:
      """Returns the mapping split->index `{'train': 0, 'test': 1}`."""
      return {
          name: index for index, name in enumerate(self.split_names)
      }
  
imports: from __future__ import annotations
  import abc
  import collections
  import dataclasses
  import itertools
  import tempfile
  from typing import Any, Dict, Iterator, List, Optional, TypeVar, Union
  import apache_beam
  from etils import edc
  from etils import epath
  import kubric
  import tensorflow_datasets
label_desc: Use image node_id 3 for calling the SplitScenesMapping obj's underlying member method code with example usage: obj._split_name_to_split_index() and returns: unknown