Skip to content

Commit

Permalink
[ONNX] Extended ReduceMax by opsets 13,18,20 (openvinotoolkit#23475)
Browse files Browse the repository at this point in the history
 - Extended ReduceMax by opsets 13,18,20
 - Updated a using opset for ONNX to 20
 - Added tests for additional supported types
 - Enabled backend tests

  - Closes openvinotoolkit#20555
  • Loading branch information
gkrivor authored and mory91 committed Mar 22, 2024
1 parent b1a0cea commit 332664c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/frontends/onnx/frontend/src/op/reduce.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ ov::OutputVector reduce_log_sum(const ov::frontend::onnx::Node& node) {
make_ov_reduction_op<v1::ReduceSum>(node, node.get_ov_inputs().at(0), supported_types_v2, false);
return {std::make_shared<v0::Log>(sum_node)};
}
ov::OutputVector reduce_max(const ov::frontend::onnx::Node& node) {
return {make_ov_reduction_op<v1::ReduceMax>(node, node.get_ov_inputs().at(0), supported_types_v3, false)};
}
} // namespace set_18

namespace set_20 {
Expand Down

0 comments on commit 332664c

Please sign in to comment.