openvino.runtime.opset4.tanh

openvino.runtime.opset4.tanh(node: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], name: Optional[str] = None) openvino._pyopenvino.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.