7 #include "ngraph/node.hpp"
8 #include "ngraph/op/op.hpp"
35 virtual std::shared_ptr<Node>
36 clone_with_new_inputs(
const OutputVector& new_args)
const override;
38 double get_alpha()
const {
return m_alpha; }
Visits the attributes of a node, primarily for serialization-like tasks.
Definition: attribute_visitor.hpp:59
A handle for one of a node's outputs.
Definition: node_output.hpp:33
Root of all actual ops.
Definition: op.hpp:17
Exponential Linear Unit x < 0 => f(x) = alpha * (exp(x) - 1.) x >= 0 => f(x) = x.
Definition: elu.hpp:21
Elu(const Output< Node > &data, const double alpha)
Constructs an Elu operation.
void validate_and_infer_types() override
Verifies that attributes and inputs are consistent and computes output shapes and element types....
const NodeTypeInfo & get_type_info() const override
Definition: elu.hpp:24
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:16