code: def default_allgather_fn(metrics: Any) -> List:
      """
      A noop allgather implementation to ensure that custom reducers work outside Determined.
      """
      return [metrics]
  
imports: import abc
  import enum
  import itertools
  from typing import Any, Callable, Dict, List, Optional, TypeVar, Union, overload
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: default_allgather_fn(metrics) and returns: list