21 #include "ngraph/node.hpp"
22 #include "ngraph/op/util/attr_types.hpp"
23 #include "ngraph/op/util/fused_op.hpp"
25 NGRAPH_SUPPRESS_DEPRECATED_START
35 class NGRAPH_API
NormalizeL2 :
public ngraph::op::util::FusedOp
38 NGRAPH_RTTI_DECLARATION;
58 float get_eps()
const {
return m_eps; }
59 EpsMode get_eps_mode()
const {
return m_eps_mode; }
60 virtual OutputVector decompose_op()
const override;
61 virtual void pre_validate_and_infer_types()
override;
62 AxisSet get_reduction_axes()
const;
64 virtual std::shared_ptr<Node>
65 clone_with_new_inputs(
const OutputVector& new_args)
const override;
72 using v0::NormalizeL2;
76 NGRAPH_SUPPRESS_DEPRECATED_END
Visits the attributes of a node, primarily for serialization-like tasks.
Definition: attribute_visitor.hpp:71
A set of axes.
Definition: axis_set.hpp:31
A handle for one of a node's outputs.
Definition: node_output.hpp:42
Normalization input tensor with L2 norm.
Definition: normalize_l2.hpp:36
NormalizeL2(const Output< Node > &data, const Output< Node > &axes, float eps, EpsMode eps_mode)
Constructs a Normalize operation.
EpsMode
Specifies how eps is combined with L2 value.
Definition: attr_types.hpp:240
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:28