ngraph.tanh

ngraph.tanh(node: Union[_pyngraph.Node, int, float, numpy.ndarray], name: Optional[str] = None) _pyngraph.Node

Return node which applies hyperbolic tangent to the input node element-wise.

Parameters
  • node – One of: input node, array or scalar.

  • name – Optional new name for output node.

Returns

New node with tanh operation applied on it.