Skip to content

Commit 43433d1

Browse files
committed
New changes after rebase
1 parent fc6c1af commit 43433d1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

onnxruntime/test/providers/cpu/tensor/cast_op_test.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -853,6 +853,9 @@ TEST(CastOpTest, Int32ToInt4x2OddNumberOfElements) {
853853
}
854854

855855
TEST(CastOpTest, Int32ToInt4x2EmptyTensor) {
856+
if (DefaultOpenVINOExecutionProvider().get() != nullptr) {
857+
GTEST_SKIP() << "The OpenVINO not support 0 size input";
858+
}
856859
// GIVEN
857860
const std::vector<int64_t> empty_shape{0};
858861
const std::vector<int32_t> empty_input = {};

onnxruntime/test/providers/cpu/tensor/concat_op_test.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ TEST(ConcatOpTest, Concat1D_2) {
7373
test.Run(OpTester::ExpectResult::kExpectSuccess, "",
7474
{kTensorrtExecutionProvider, // TensorRT: no support for dynamic shape tensor
7575
kNnapiExecutionProvider, // NNAPI: concat does not support 0 size input
76+
kOpenVINOExecutionProvider, // OpenVINO: does not support 0 size input
7677
kQnnExecutionProvider}); // QNN: not support dynamic shape tensor
7778
}
7879

@@ -118,6 +119,7 @@ TEST(ConcatOpTest, Concat2D_3) {
118119
test.Run(OpTester::ExpectResult::kExpectSuccess, "",
119120
{kTensorrtExecutionProvider, // TensorRT: no support for dynamic shape tensor
120121
kNnapiExecutionProvider, // NNAPI: concat does not support 0 size input
122+
kOpenVINOExecutionProvider, // OpenVINO: does not support 0 size input
121123
kQnnExecutionProvider}); // QNN: not support dynamic shape tensor
122124
}
123125

0 commit comments

Comments
 (0)