9 #include "ngraph/deprecated.hpp"
10 #include "ngraph/node.hpp"
11 #include "ngraph/op/op.hpp"
22 NGRAPH_RTTI_DECLARATION;
41 double get_eps_value()
const {
return m_epsilon; }
42 void set_eps_value(
double epsilon) { m_epsilon = epsilon; }
44 clone_with_new_inputs(
const OutputVector& new_args)
const override;
47 static constexpr
size_t INPUT_GAMMA = 0;
48 static constexpr
size_t INPUT_BETA = 1;
49 static constexpr
size_t INPUT_DATA = 2;
50 static constexpr
size_t INPUT_MEAN = 3;
51 static constexpr
size_t INPUT_VARIANCE = 4;
61 NGRAPH_RTTI_DECLARATION;
80 double get_eps_value()
const {
return m_epsilon; }
81 void set_eps_value(
double epsilon) { m_epsilon = epsilon; }
83 clone_with_new_inputs(
const OutputVector& new_args)
const override;
86 static constexpr
size_t INPUT_DATA = 0;
87 static constexpr
size_t INPUT_GAMMA = 1;
88 static constexpr
size_t INPUT_BETA = 2;
89 static constexpr
size_t INPUT_MEAN = 3;
90 static constexpr
size_t INPUT_VARIANCE = 4;
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
Definition: batch_norm.hpp:20
void validate_and_infer_types() override
Verifies that attributes and inputs are consistent and computes output shapes and element types....
BatchNormInference(const Output< Node > &input, const Output< Node > &gamma, const Output< Node > &beta, const Output< Node > &mean, const Output< Node > &variance, double epsilon)
Definition: batch_norm.hpp:59
BatchNormInference(const Output< Node > &input, const Output< Node > &gamma, const Output< Node > &beta, const Output< Node > &mean, const Output< Node > &variance, double epsilon)
void validate_and_infer_types() override
Verifies that attributes and inputs are consistent and computes output shapes and element types....
The Intel nGraph C++ API.
Definition: attribute_adapter.hpp:16