Commit f9691e2e authored by Paul's avatar Paul
Browse files

Format

parent 93c89587
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
#include <onnx_test.hpp> #include <onnx_test.hpp>
#include <migraphx/op/unknown.hpp> #include <migraphx/op/unknown.hpp>
TEST_CASE(unknown_test) TEST_CASE(unknown_test)
{ {
migraphx::program p; migraphx::program p;
...@@ -27,5 +26,3 @@ TEST_CASE(unknown_test_throw_print_error) ...@@ -27,5 +26,3 @@ TEST_CASE(unknown_test_throw_print_error)
options.print_program_on_error = true; options.print_program_on_error = true;
EXPECT(test::throws([&] { migraphx::parse_onnx("unknown_test.onnx", options); })); EXPECT(test::throws([&] { migraphx::parse_onnx("unknown_test.onnx", options); }));
} }
...@@ -2,12 +2,9 @@ ...@@ -2,12 +2,9 @@
#include <onnx_test.hpp> #include <onnx_test.hpp>
#include <onnx_test_utils.hpp> #include <onnx_test_utils.hpp>
TEST_CASE(upsample_linear_test) TEST_CASE(upsample_linear_test)
{ {
auto p = create_upsample_linear_prog(); auto p = create_upsample_linear_prog();
auto prog = migraphx::parse_onnx("upsample_linear_test.onnx"); auto prog = migraphx::parse_onnx("upsample_linear_test.onnx");
EXPECT(p == prog); EXPECT(p == prog);
} }
#include <onnx_test.hpp> #include <onnx_test.hpp>
TEST_CASE(upsample_test) TEST_CASE(upsample_test)
{ {
migraphx::program p; migraphx::program p;
...@@ -24,5 +23,3 @@ TEST_CASE(upsample_test) ...@@ -24,5 +23,3 @@ TEST_CASE(upsample_test)
EXPECT(p == prog); EXPECT(p == prog);
} }
#include <onnx_test.hpp> #include <onnx_test.hpp>
TEST_CASE(upsample_ver7_test) TEST_CASE(upsample_ver7_test)
{ {
migraphx::program p; migraphx::program p;
...@@ -22,5 +21,3 @@ TEST_CASE(upsample_ver7_test) ...@@ -22,5 +21,3 @@ TEST_CASE(upsample_ver7_test)
EXPECT(p == prog); EXPECT(p == prog);
} }
#include <onnx_test.hpp> #include <onnx_test.hpp>
TEST_CASE(variable_batch_leq_zero_test) TEST_CASE(variable_batch_leq_zero_test)
{ {
migraphx::program p; migraphx::program p;
...@@ -13,5 +12,3 @@ TEST_CASE(variable_batch_leq_zero_test) ...@@ -13,5 +12,3 @@ TEST_CASE(variable_batch_leq_zero_test)
EXPECT(p == prog); EXPECT(p == prog);
} }
#include <onnx_test.hpp> #include <onnx_test.hpp>
TEST_CASE(variable_batch_test) TEST_CASE(variable_batch_test)
{ {
migraphx::program p; migraphx::program p;
...@@ -116,5 +115,3 @@ TEST_CASE(variable_batch_user_input_test7) ...@@ -116,5 +115,3 @@ TEST_CASE(variable_batch_user_input_test7)
EXPECT(p == prog); EXPECT(p == prog);
} }
#include <onnx_test.hpp> #include <onnx_test.hpp>
TEST_CASE(where_dyn_test) TEST_CASE(where_dyn_test)
{ {
// TODO: broadcasting for dynamic shapes isn't implemented at time of writing. // TODO: broadcasting for dynamic shapes isn't implemented at time of writing.
...@@ -24,5 +23,3 @@ TEST_CASE(where_dyn_test) ...@@ -24,5 +23,3 @@ TEST_CASE(where_dyn_test)
EXPECT(p == prog); EXPECT(p == prog);
} }
#include <onnx_test.hpp> #include <onnx_test.hpp>
TEST_CASE(where_mixed_test) TEST_CASE(where_mixed_test)
{ {
// mixture of static and dynamic input shapes is not supported // mixture of static and dynamic input shapes is not supported
...@@ -9,5 +8,3 @@ TEST_CASE(where_mixed_test) ...@@ -9,5 +8,3 @@ TEST_CASE(where_mixed_test)
options.default_dyn_dim_value = {1, 4}; options.default_dyn_dim_value = {1, 4};
EXPECT(test::throws([&] { migraphx::parse_onnx("where_mixed_test.onnx", options); })); EXPECT(test::throws([&] { migraphx::parse_onnx("where_mixed_test.onnx", options); }));
} }
#include <onnx_test.hpp> #include <onnx_test.hpp>
TEST_CASE(where_test) TEST_CASE(where_test)
{ {
migraphx::program p; migraphx::program p;
...@@ -24,5 +23,3 @@ TEST_CASE(where_test) ...@@ -24,5 +23,3 @@ TEST_CASE(where_test)
EXPECT(p == prog); EXPECT(p == prog);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment