code: def __init__(
      self,
      *,
      split: "ImageNet.Split",
      root: str,
      extra: str,
      transforms: Optional[Callable] = None,
      transform: Optional[Callable] = None,
      target_transform: Optional[Callable] = None,
  ) -> None:
      super().__init__(root, transforms, transform, target_transform)
      self._extra_root = extra
      self._split = split
  
      self._entries = None
      self._class_ids = None
      self._class_names = None
  
imports: import csv
  from enum import Enum
  import logging
  import os
  from typing import Callable, List, Optional, Tuple, Union
  import numpy
  from .extended import ExtendedVisionDataset
label_desc: Use image node_id 1 to create a new ImageNet object from inherited base classes: ExtendedVisionDataset with example: obj = ImageNet()