ngraph.relu

ngraph.relu(node: Union[_pyngraph.Node, int, float, numpy.ndarray], name: Optional[str] = None) _pyngraph.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.