19 #include "ngraph/node.hpp"
20 #include "ngraph/op/op.hpp"
47 virtual std::shared_ptr<Node>
48 clone_with_new_inputs(
const OutputVector& new_args)
const override;
50 double get_alpha()
const {
return m_alpha; }
Visits the attributes of a node, primarily for serialization-like tasks.
Definition: attribute_visitor.hpp:71
A handle for one of a node's outputs.
Definition: node_output.hpp:42
Root of all actual ops.
Definition: op.hpp:29
Exponential Linear Unit x < 0 => f(x) = alpha * (exp(x) - 1.) x >= 0 => f(x) = x.
Definition: elu.hpp:33
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:36
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:28