openvino.runtime.opset2.cos

openvino.runtime.opset2.cos(node: Union[openvino.pyopenvino.Node, int, float, numpy.ndarray], name: Optional[str] = None) → openvino.pyopenvino.Node

Apply cosine function on 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 cos operation applied on it.