code: def build_activation(act_func, inplace=True):
      if act_func == "relu":
          return nn.ReLU(inplace=inplace)
      elif act_func == "relu6":
          return nn.ReLU6(inplace=inplace)
      elif act_func == "tanh":
          return nn.Tanh()
      elif act_func == "sigmoid":
          return nn.Sigmoid()
      elif act_func is None:
          return None
      else:
          raise ValueError("do not support: %s" % act_func)
  
file_path: nni/examples/nas/legacy/oneshot/proxylessnas/putils.py
imports: import torch
  import nni.retiarii.nn.pytorch
label_desc: Use image node_id 3 for calling a global function with example usage: build_activation(act_func, inplace) and returns: nn, nn, nn, nn, None