Class ov::op::v0::Selu#

class Selu : public ov::op::Op#

Performs a SELU activation function on all elements of the input node.

Public Functions

Selu(const Output<Node> &data, const Output<Node> &alpha, const Output<Node> &lambda)#

Constructs a Selu node.

  • data – - Node producing the input tensor

  • alpha – - Alpha coefficient of SELU operation

  • lambda – - Lambda coefficient of SELU operation

virtual void validate_and_infer_types() override#

Verifies that attributes and inputs are consistent and computes output shapes and element types. Must be implemented by concrete child classes so that it can be run any number of times.

Throws if the node is invalid.