Skip to content

Commit

Permalink
Update pad.cpp: split was moved
Browse files Browse the repository at this point in the history
  • Loading branch information
gkrivor authored Apr 2, 2024
1 parent 4935715 commit 2f00dd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/frontends/onnx/frontend/src/op/com.microsoft/pad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#include "openvino/op/pad.hpp"
#include "openvino/op/squeeze.hpp"
#include "openvino/op/util/op_types.hpp"
#include "ov_models/ov_builders/split.hpp"
#include "utils/reshape.hpp"
#include "utils/split.hpp"

namespace {
ov::op::PadMode get_pad_mode(std::string mode) {
Expand Down Expand Up @@ -67,7 +67,7 @@ ov::OutputVector pad(const Node& node) {
padding_begin = v0::Constant::create(ov::element::i64, ov::Shape{half_size}, padding_begin_values);
padding_end = v0::Constant::create(ov::element::i64, ov::Shape{half_size}, padding_end_values);
} else {
ov::OutputVector padding = ov::op::util::split(pads, 2, 0);
ov::OutputVector padding = ov::op::util::make_split(pads, 2, 0);

padding_begin = padding.at(0);
padding_end = padding.at(1);
Expand Down

0 comments on commit 2f00dd3

Please sign in to comment.