code: def _dump_entries(self, *args, **kwargs) -> None:
      entries, class_ids = self._load_entries_class_ids(*args, **kwargs)
  
      max_class_id_length, max_filename_length, max_class_index = (
          -1,
          -1,
          -1,
      )
      for entry in entries:
          class_id = class_ids[entry.class_index]
          max_class_index = max(entry.class_index, max_class_index)
          max_class_id_length = max(len(class_id), max_class_id_length)
          max_filename_length = max(
              len(entry.filename), max_filename_length
          )
  
      dtype = np.dtype(
          [
              ("class_index", "<u4"),
              ("class_id", f"U{max_class_id_length}"),
              ("start_offset", "<u4"),
              ("end_offset", "<u4"),
              ("filename", f"U{max_filename_length}"),
          ]
      )
      sample_count = len(entries)
      entries_array = np.empty(sample_count, dtype=dtype)
      for i, entry in enumerate(entries):
          class_index = entry.class_index
          class_id = class_ids[class_index]
          start_offset = entry.start_offset
          end_offset = entry.end_offset
          filename = entry.filename
          entries_array[i] = (
              class_index,
              class_id,
              start_offset,
              end_offset,
              filename,
          )
  
      entries_path = self._get_entries_path(*args, **kwargs)
      self._save_extra(entries_array, entries_path)
  
imports: from dataclasses import dataclass
  from enum import Enum
  from functools import lru_cache
  from gzip import GzipFile
  from io import BytesIO
  from mmap import ACCESS_READ, mmap
  import os
  from typing import Any, Callable, List, Optional, Set, Tuple
  import warnings
  import numpy
  from .extended import ExtendedVisionDataset
label_desc: Use image node_id 17 for calling the ImageNet22k obj's underlying member method code with example usage: obj._dump_entries() without return types