code: def tanh(x):
      # Tanh is just a scaled sigmoid
      return 2 * tl.sigmoid(2 * x) - 1
  
file_path: xformers/xformers/triton/k_activations.py
imports: import math
  from typing import Optional
  import triton
  import triton.language
  from xformers.components import Activation
label_desc: Use image node_id 2 for calling a global function with example usage: tanh(x) and returns: unknown