code: def max_across_indices(values: Iterable[Any]) -> List[Any]:
      """
      Return the maximum value across all indices of an iterable of values.
      """
      return [max(values_i) for values_i in zip(*values)]
  
imports: import pathlib
  from typing import Any, Callable, Dict, Iterable, List, Optional, Tuple, Union
  import numpy
  from ...feature_extraction_utils import BatchFeature
  from ...image_processing_utils import BaseImageProcessor, get_size_dict
  from ...image_transforms import PaddingMode, center_to_corners_format, corners_to_center_format, pad, rescale, resize, rgb_to_id, to_channel_dimension_format
  from ...image_utils import IMAGENET_DEFAULT_MEAN, IMAGENET_DEFAULT_STD, AnnotationFormat, ChannelDimension, ImageInput, PILImageResampling, get_image_size, infer_channel_dimension_format, is_batched, is_scaled_image, to_numpy_array, valid_images, validate_annotations
  from ...utils import is_flax_available, is_jax_tensor, is_tf_available, is_tf_tensor, is_torch_available, is_torch_tensor, is_torchvision_available, is_vision_available, logging
  from ...utils.generic import TensorType
label_desc: Use image node_id 6 for calling a global function with example usage: max_across_indices(values) and returns: unknown