ngraph.opset3.elu

ngraph.opset3.elu(data: Union[_pyngraph.Node, int, float, numpy.ndarray], alpha: Union[type, numpy.dtype], name: Optional[str] = None) _pyngraph.Node

Perform Exponential Linear Unit operation element-wise on data from input node.

Computes exponential linear: alpha * (exp(data) - 1) if < 0, data otherwise.

For more information refer to: [Fast and Accurate Deep Network Learning by Exponential Linear Units](http://arxiv.org/abs/1511.07289)

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

  • alpha – Scalar multiplier for negative values.

  • name – Optional output node name.

Returns

The new node performing an ELU operation on its input data element-wise.