Skip to content

Commit

Permalink
Update src/frontends/tensorflow_common/src/op/atan2.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
rkazants authored Dec 6, 2023
1 parent f5f3757 commit b99c5e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontends/tensorflow_common/src/op/atan2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ OutputVector translate_atan2_op(const NodeContext& node) {
auto atan_y_x_plus_pi = make_shared<v1::Add>(atan, const_pi);
result = make_shared<v1::Select>(cond1, atan_y_x_plus_pi, result);

// handle the third consition : x<0 && y<0
// handle the third condition : x<0 && y<0
auto is_y_negative = make_shared<v1::Less>(y, const_zero);
auto cond2 = make_shared<v1::LogicalAnd>(is_x_negative, is_y_negative);
auto atan_y_x_minus_pi = make_shared<v1::Subtract>(atan, const_pi);
Expand Down

0 comments on commit b99c5e5

Please sign in to comment.