Skip to content

Commit

Permalink
Fix uninit members in default GroupNormalization() (openvinotoolkit…
Browse files Browse the repository at this point in the history
  • Loading branch information
vurusovs authored Aug 18, 2023
1 parent e9fdf0c commit ef33c2b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/include/openvino/op/group_normalization.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace v12 {
class OPENVINO_API GroupNormalization : public Op {
public:
OPENVINO_OP("GroupNormalization", "opset12");
GroupNormalization() = default;
GroupNormalization();
/// \param data The input tensor to be normalized
/// \param scale The tensor containing scale values for each channel
/// \param bias The tensor containing bias values for each channel
Expand Down
2 changes: 2 additions & 0 deletions src/core/src/op/group_normalization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
#include "openvino/core/validation_util.hpp"

namespace ov {
op::v12::GroupNormalization::GroupNormalization() : m_num_groups{0}, m_epsilon{0} {}

op::v12::GroupNormalization::GroupNormalization(const Output<Node>& data,
const Output<Node>& scale,
const Output<Node>& bias,
Expand Down

0 comments on commit ef33c2b

Please sign in to comment.