Skip to content

Commit 5423671

Browse files
committed
Apply clang-format to rad2deg.cpp
1 parent 8e80939 commit 5423671

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/frontends/pytorch/src/op/rad2deg.cpp

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#include <cmath>
66

77
#include "openvino/frontend/pytorch/node_context.hpp"
8-
#include "openvino/op/multiply.hpp"
98
#include "openvino/op/constant.hpp"
9+
#include "openvino/op/multiply.hpp"
1010

1111
namespace ov {
1212
namespace frontend {
@@ -16,18 +16,18 @@ namespace op {
1616
OutputVector translate_rad2deg(const NodeContext& context) {
1717
// Ensure that the operation has exactly one input (the input tensor)
1818
num_inputs_check(context, 1, 1);
19-
19+
2020
// Retrieve the input tensor
2121
auto input = context.get_input(0);
2222

2323
// Get the input element type dynamically
2424
auto input_type = input.get_element_type();
2525

2626
const double pi_val = std::atan(1.0) * 4;
27-
27+
2828
// Create a constant node with the conversion factor (180 / π)
2929
auto conversion_factor = context.mark_node(ov::op::v0::Constant::create(input_type, Shape{}, {180.0 / pi_val}));
30-
30+
3131
// Apply the multiplication operation to convert radians to degrees
3232
auto result = context.mark_node(std::make_shared<ov::op::v1::Multiply>(input, conversion_factor));
3333

0 commit comments

Comments
 (0)