code: def median(
      a: ArrayLike,
      axis=None,
      out: Optional[OutArray] = None,
      overwrite_input=False,
      keepdims: KeepDims = False,
  ):
      return quantile(
          a,
          torch.as_tensor(0.5),
          axis=axis,
          overwrite_input=overwrite_input,
          out=out,
          keepdims=keepdims,
      )
  
imports: from __future__ import annotations
  import functools
  from typing import Optional
  import torch
  from .None import _dtypes_impl, _util
  from ._normalizations import ArrayLike, AxisLike, DTypeLike, KeepDims, NotImplementedType, OutArray
label_desc: Use image node_id 21 for calling a global function with example usage: median(a, axis, out, overwrite_input, keepdims) and returns: quantile