def METHOD_NAME(x):
    if not hasattr(METHOD_NAME, "_a"):
        METHOD_NAME._a = math.sqrt(2 / math.pi)
    return (
            0.5 * x * (1 + torch.tanh(METHOD_NAME._a * (x + 0.044715 * torch.pow(x, 3))))
    )