code: def deriv_tanh(F, x: Tensor) -> Tensor:
      """
      Derivative function of Tanh activation computed at point `x`.
  
      Parameters
      ----------
      F
          A module that can either refer to the Symbol API or the NDArray API in
          MXNet.
  
      x
          Input tensor
  
      Returns
      -------
      Tensor
          Derivative tensor
      """
      return 1 - F.tanh(x) ** 2
  
file_path: gluonts/src/gluonts/mx/activation.py
imports: from functools import partial
  from typing import Callable
  import mxnet
  import mxnet.gluon.nn
  from gluonts.core.component import validated
  from gluonts.mx import Tensor
label_desc: Use image node_id 3 for calling a global function with example usage: deriv_tanh(F, x) and returns: unknown