Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
f9691e2e
Commit
f9691e2e
authored
Dec 13, 2023
by
Paul
Browse files
Format
parent
93c89587
Changes
489
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
0 additions
and
27 deletions
+0
-27
test/onnx/parse/unknown_test.cpp
test/onnx/parse/unknown_test.cpp
+0
-3
test/onnx/parse/upsample_linear_test.cpp
test/onnx/parse/upsample_linear_test.cpp
+0
-3
test/onnx/parse/upsample_test.cpp
test/onnx/parse/upsample_test.cpp
+0
-3
test/onnx/parse/upsample_ver7_test.cpp
test/onnx/parse/upsample_ver7_test.cpp
+0
-3
test/onnx/parse/variable_batch_leq_zero_test.cpp
test/onnx/parse/variable_batch_leq_zero_test.cpp
+0
-3
test/onnx/parse/variable_batch_test.cpp
test/onnx/parse/variable_batch_test.cpp
+0
-3
test/onnx/parse/where_dyn_test.cpp
test/onnx/parse/where_dyn_test.cpp
+0
-3
test/onnx/parse/where_mixed_test.cpp
test/onnx/parse/where_mixed_test.cpp
+0
-3
test/onnx/parse/where_test.cpp
test/onnx/parse/where_test.cpp
+0
-3
No files found.
test/onnx/parse/unknown_test.cpp
View file @
f9691e2e
...
@@ -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
);
}));
}
}
test/onnx/parse/upsample_linear_test.cpp
View file @
f9691e2e
...
@@ -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
);
}
}
test/onnx/parse/upsample_test.cpp
View file @
f9691e2e
#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
);
}
}
test/onnx/parse/upsample_ver7_test.cpp
View file @
f9691e2e
#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
);
}
}
test/onnx/parse/variable_batch_leq_zero_test.cpp
View file @
f9691e2e
#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
);
}
}
test/onnx/parse/variable_batch_test.cpp
View file @
f9691e2e
#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
);
}
}
test/onnx/parse/where_dyn_test.cpp
View file @
f9691e2e
#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
);
}
}
test/onnx/parse/where_mixed_test.cpp
View file @
f9691e2e
#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
);
}));
}
}
test/onnx/parse/where_test.cpp
View file @
f9691e2e
#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
);
}
}
Prev
1
…
21
22
23
24
25
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment