openvino.runtime.opset12.relu

openvino.runtime.opset12.relu(node: Union[openvino._pyopenvino.Node, int, float, numpy.ndarray], name: Optional[str] = None) openvino._pyopenvino.Node

Perform rectified linear unit operation on input node element-wise.

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

  • name – The optional output node name.

Returns

The new node performing relu operation on its input element-wise.