openvino.runtime.opset12.tanh#

openvino.runtime.opset12.tanh(node: Node | int | float | ndarray, name: str | None = None) 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.