openvino.runtime.opset9.tanh#

openvino.runtime.opset9.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.