code: def _acc_func(opname, x):
      if opname == "Swish":
          return _swish(x)
      elif opname == "Sigmoid":
          return _sigmoid(x)
      elif opname == "Tanh":
          return _tanh(x)
      elif opname == "Gelu":
          return _gelu_by_sigmoid(x)
      else:
          return x
  
file_path: pytorch/caffe2/python/fakelowp/test_utils.py
imports: import sys
  import numpy
label_desc: Use image node_id 7 for calling a global function with example usage: _acc_func(opname, x) and returns: _swish, _sigmoid, _tanh, _gelu_by_sigmoid, x