code: def _ptp(a, axis=None, out=None, keepdims=False):
      return um.subtract(
          umr_maximum(a, axis, None, out, keepdims),
          umr_minimum(a, axis, None, None, keepdims),
          out,
      )
  
imports: import os
  import pickle
  import warnings
  from contextlib import nullcontext
  from numpy._core import multiarray
  from numpy._core import umath
  from numpy._core.multiarray import asanyarray
  from numpy._core import numerictypes
  from numpy._core import _exceptions
  from numpy._core._ufunc_config import _no_nep50_warning
  from numpy._globals import _NoValue
label_desc: Use image node_id 12 for calling a global function with example usage: _ptp(a, axis, out, keepdims) and returns: um