Skip to content

Commit

Permalink
Update src/frontends/tensorflow_common/src/op/cumsum.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
rkazants authored Mar 30, 2024
1 parent 5068c00 commit fe7bce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frontends/tensorflow_common/src/op/cumsum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ OutputVector translate_cumsum_op(const NodeContext& node) {
auto const_one = create_same_type_const_scalar<int32_t>(axis, 1);

auto axis_update = make_shared<v1::Select>(less_than_zero, const_one, zero);
auto new_axis = make_shared<v1::Subtract>(axis, axis_update);
axis = make_shared<v1::Subtract>(axis, axis_update)->output(0);
}

auto cum_sum = make_shared<v0::CumSum>(x, axis, exclusive, reverse);
Expand Down

0 comments on commit fe7bce6

Please sign in to comment.