Skip to content

Commit

Permalink
Add CUMSUM node name
Browse files Browse the repository at this point in the history
"CUMSUM" operation name is used along with "cumsum", so add
both names in cusum translator op.

Signed-off-by: Pratikkumar V Prajapati <[email protected]>
  • Loading branch information
pvprajap authored and pratikpv committed Sep 19, 2024
1 parent 3e8557a commit 4543fe8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/frontends/tensorflow_common/src/op/cumsum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ namespace tensorflow {
namespace op {

OutputVector translate_cumsum_op(const NodeContext& node) {
default_op_checks(node, 2, {"Cumsum"}, true);
default_op_checks(node, 2, {"Cumsum", "CUMSUM"}, true);

auto x = node.get_input(0);
auto axis = node.get_input(1);
auto exclusive = node.get_attribute<bool>("exclusive", false);
Expand Down

0 comments on commit 4543fe8

Please sign in to comment.