code: def _fr1(a):
      """fix rank > 0 --> rank-0"""
      if a.size == 1:
          a = a.copy()
          a.shape = ()
      return a
  
imports: import warnings
  from .._utils import set_module
  from ._machar import MachAr
  from .None import numeric
  from .None import numerictypes
  from .numeric import array, inf, NaN
  from .umath import log10, exp2, nextafter, isnan
label_desc: Use image node_id 2 for calling a global function with example usage: _fr1(a) and returns: a