code: def erfinv():
      """Unified erfinv interface for both scalar and tensor"""
  
      def compute(value):
          if isinstance(value, Number):
              if sc is not None:
                  return sc.erfinv(value)
              else:
                  raise ValueError(
                      "Numbers are not supported as input if scipy is not installed"
                  )
          return npx.erfinv(value)
  
      return compute
  
file_path: mxnet/python/mxnet/gluon/probability/distributions/utils.py
imports: from functools import update_wrapper
  from numbers import Number
  import numpy
  from ....None import np, npx
label_desc: Use image node_id 5 for calling a global function with example usage: erfinv() and returns: compute, npx, sc