code: def _get_elements_in_multi_arraylike(
      data: ArrayLike, start: int, end: int
  ) -> Any:
      if isinstance(data, np.ndarray):
          return data[start:end]
      elif isinstance(data, (list, tuple)):
          return [arraylike[start:end] for arraylike in data]
      elif isinstance(data, dict):
          return {name: data[name][start:end] for name in data}
      else:
          raise det.errors.InternalException(
              f"Unsupported data type: {type(data)}."
          )
  
file_path: determined/harness/determined/keras/_data.py
imports: import math
  from typing import Any, Dict, List, Optional, Tuple, Union
  import numpy
  import tensorflow
  import determined
  from determined import keras
  from determined.common import check
label_desc: Use image node_id 4 for calling a global function with example usage: _get_elements_in_multi_arraylike(data, start, end) and returns: data, unknown, unknown