code: def gelu(x: torch.Tensor) -> torch.Tensor:
      return torch.nn.functional.gelu(x.float()).type_as(x)
  
file_path: lightseq/lightseq/csrc/pytorch/util.py
imports: import math
  from typing import Callable
  import numpy
  import torch
  import torch.nn.functional
label_desc: Use image node_id 2 for calling a global function with example usage: gelu(x) and returns: torch