Skip to content

Commit d64f73e

Browse files
committed
fix clang-format
1 parent 1c481aa commit d64f73e

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

src/common/transformations/include/ov_ops/rms.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ class TRANSFORMATIONS_API RMS : public ov::op::Op {
3434
/// @param data Input tensor with data
3535
/// @param eps Epsilon for not dividing by zero while normalizing the value
3636
/// @param output_type Output element type
37-
RMS(const Output<Node>& data,
38-
double epsilon,
39-
const ov::element::Type output_type = ov::element::dynamic);
37+
RMS(const Output<Node>& data, double epsilon, const ov::element::Type output_type = ov::element::dynamic);
4038

4139
bool visit_attributes(ov::AttributeVisitor& visitor) override;
4240

src/common/transformations/src/ov_ops/rms.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ namespace ov {
88
namespace op {
99
namespace internal {
1010

11-
RMS::RMS(const Output<Node>& data,
12-
const Output<Node>& gamma,
13-
double epsilon,
14-
const ov::element::Type output_type)
11+
RMS::RMS(const Output<Node>& data, const Output<Node>& gamma, double epsilon, const ov::element::Type output_type)
1512
: Op({data, gamma}),
1613
m_epsilon(epsilon),
1714
m_output_type(output_type),

src/common/transformations/src/transformations/common_optimizations/rms_fusion.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ RMSFusion::RMSFusion(bool force_tail_convert, bool enable_div_x) {
145145
return false;
146146
}
147147

148-
auto output_type =
149-
elementwise_affine ? m.get_match_root()->get_output_element_type(0) : mul_or_div_node->get_output_element_type(0);
148+
auto output_type = elementwise_affine ? m.get_match_root()->get_output_element_type(0)
149+
: mul_or_div_node->get_output_element_type(0);
150150
std::shared_ptr<ov::op::internal::RMS> rms;
151151
if (elementwise_affine) {
152152
rms = std::make_shared<ov::op::internal::RMS>(x_output, gamma_node, eps_value, output_type);

0 commit comments

Comments
 (0)