Skip to content

Commit

Permalink
exclude ngraph provider for clip unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
askhade committed Aug 21, 2019
1 parent e570e66 commit 02ca14e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions onnxruntime/test/providers/cpu/math/clip_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ TEST(MathOpTest, Clip_Default) {
{11.0f, 4.4f, 432.3f,
-1.3f, 3.5f, 64.0f,
-5.4f, 9.3f, 82.4f});
test.Run();

// nGraph does not support Clip opset 11 yet.
test.Run(OpTester::ExpectResult::kExpectSuccess, "", {kNGraphExecutionProvider});
}

TEST(MathOpTest, Clip) {
Expand All @@ -54,7 +56,9 @@ TEST(MathOpTest, Clip) {
{-1.0f, 0.0f, 1.0f,
-5.0f, 0.0f, 5.0f,
-5.0f, 2.0f, 5.0f});
test.Run();

// nGraph does not support Clip opset 11 yet.
test.Run(OpTester::ExpectResult::kExpectSuccess, "", {kNGraphExecutionProvider});
}

} // namespace test
Expand Down

0 comments on commit 02ca14e

Please sign in to comment.