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
20 changed files
with
0 additions
and
60 deletions
+0
-60
test/onnx/parse/reversesequence_rank_err_test.cpp
test/onnx/parse/reversesequence_rank_err_test.cpp
+0
-3
test/onnx/parse/reversesequence_same_axis_err_test.cpp
test/onnx/parse/reversesequence_same_axis_err_test.cpp
+0
-3
test/onnx/parse/reversesequence_sequence_lens_shape_err_test.cpp
...nx/parse/reversesequence_sequence_lens_shape_err_test.cpp
+0
-3
test/onnx/parse/reversesequence_time_axis_err_test.cpp
test/onnx/parse/reversesequence_time_axis_err_test.cpp
+0
-3
test/onnx/parse/reversesequence_time_test.cpp
test/onnx/parse/reversesequence_time_test.cpp
+0
-3
test/onnx/parse/roialign_default_test.cpp
test/onnx/parse/roialign_default_test.cpp
+0
-3
test/onnx/parse/roialign_test.cpp
test/onnx/parse/roialign_test.cpp
+0
-3
test/onnx/parse/round_test.cpp
test/onnx/parse/round_test.cpp
+0
-3
test/onnx/parse/scatter_add_test.cpp
test/onnx/parse/scatter_add_test.cpp
+0
-3
test/onnx/parse/scatter_mul_test.cpp
test/onnx/parse/scatter_mul_test.cpp
+0
-3
test/onnx/parse/scatter_none_test.cpp
test/onnx/parse/scatter_none_test.cpp
+0
-3
test/onnx/parse/scatternd_dyn_test.cpp
test/onnx/parse/scatternd_dyn_test.cpp
+0
-3
test/onnx/parse/scatternd_invalid_reduction_test.cpp
test/onnx/parse/scatternd_invalid_reduction_test.cpp
+0
-3
test/onnx/parse/selu_test.cpp
test/onnx/parse/selu_test.cpp
+0
-3
test/onnx/parse/shape_dyn_test0.cpp
test/onnx/parse/shape_dyn_test0.cpp
+0
-3
test/onnx/parse/shape_dyn_test1.cpp
test/onnx/parse/shape_dyn_test1.cpp
+0
-3
test/onnx/parse/shape_dyn_test2.cpp
test/onnx/parse/shape_dyn_test2.cpp
+0
-3
test/onnx/parse/shape_dyn_test3.cpp
test/onnx/parse/shape_dyn_test3.cpp
+0
-3
test/onnx/parse/shape_end_less_start_error.cpp
test/onnx/parse/shape_end_less_start_error.cpp
+0
-3
test/onnx/parse/shape_end_oob_test.cpp
test/onnx/parse/shape_end_oob_test.cpp
+0
-3
No files found.
test/onnx/parse/reversesequence_rank_err_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
TEST_CASE
(
reversesequence_rank_err_test
)
{
EXPECT
(
test
::
throws
([
&
]
{
migraphx
::
parse_onnx
(
"reversesequence_rank_err_test.onnx"
);
}));
}
test/onnx/parse/reversesequence_same_axis_err_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
TEST_CASE
(
reversesequence_same_axis_err_test
)
{
EXPECT
(
test
::
throws
([
&
]
{
migraphx
::
parse_onnx
(
"reversesequence_same_axis_err_test.onnx"
);
}));
}
test/onnx/parse/reversesequence_sequence_lens_shape_err_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
TEST_CASE
(
reversesequence_sequence_lens_shape_err_test
)
{
EXPECT
(
test
::
throws
(
[
&
]
{
migraphx
::
parse_onnx
(
"reversesequence_sequence_lens_shape_err_test.onnx"
);
}));
}
test/onnx/parse/reversesequence_time_axis_err_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
TEST_CASE
(
reversesequence_time_axis_err_test
)
{
EXPECT
(
test
::
throws
([
&
]
{
migraphx
::
parse_onnx
(
"reversesequence_time_axis_err_test.onnx"
);
}));
}
test/onnx/parse/reversesequence_time_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
TEST_CASE
(
reversesequence_time_test
)
{
migraphx
::
program
p
;
...
...
@@ -52,5 +51,3 @@ TEST_CASE(reversesequence_time_test)
auto
prog
=
migraphx
::
parse_onnx
(
"reversesequence_time_test.onnx"
);
EXPECT
(
p
==
prog
);
}
test/onnx/parse/roialign_default_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
TEST_CASE
(
roialign_default_test
)
{
migraphx
::
shape
sx
{
migraphx
::
shape
::
float_type
,
{
10
,
4
,
7
,
8
}};
...
...
@@ -27,5 +26,3 @@ TEST_CASE(roialign_default_test)
EXPECT
(
p
==
prog
);
}
test/onnx/parse/roialign_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
TEST_CASE
(
roialign_test
)
{
migraphx
::
shape
sx
{
migraphx
::
shape
::
float_type
,
{
10
,
5
,
4
,
7
}};
...
...
@@ -30,5 +29,3 @@ TEST_CASE(roialign_test)
EXPECT
(
p
==
prog
);
}
test/onnx/parse/round_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
TEST_CASE
(
round_test
)
{
migraphx
::
program
p
;
...
...
@@ -12,5 +11,3 @@ TEST_CASE(round_test)
auto
prog
=
optimize_onnx
(
"round_test.onnx"
);
EXPECT
(
p
==
prog
);
}
test/onnx/parse/scatter_add_test.cpp
View file @
f9691e2e
...
...
@@ -2,7 +2,6 @@
#include <onnx_test.hpp>
#include <onnx_test_utils.hpp>
TEST_CASE
(
scatter_add_test
)
{
migraphx
::
program
p
=
create_scatter_program
(
"scatter_add"
,
-
2
);
...
...
@@ -10,5 +9,3 @@ TEST_CASE(scatter_add_test)
EXPECT
(
p
==
prog
);
}
test/onnx/parse/scatter_mul_test.cpp
View file @
f9691e2e
...
...
@@ -2,7 +2,6 @@
#include <onnx_test.hpp>
#include <onnx_test_utils.hpp>
TEST_CASE
(
scatter_mul_test
)
{
migraphx
::
program
p
=
create_scatter_program
(
"scatter_mul"
,
-
2
);
...
...
@@ -10,5 +9,3 @@ TEST_CASE(scatter_mul_test)
EXPECT
(
p
==
prog
);
}
test/onnx/parse/scatter_none_test.cpp
View file @
f9691e2e
...
...
@@ -2,7 +2,6 @@
#include <onnx_test.hpp>
#include <onnx_test_utils.hpp>
TEST_CASE
(
scatter_none_test
)
{
migraphx
::
program
p
=
create_scatter_program
(
"scatter_none"
,
-
2
);
...
...
@@ -10,5 +9,3 @@ TEST_CASE(scatter_none_test)
EXPECT
(
p
==
prog
);
}
test/onnx/parse/scatternd_dyn_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
TEST_CASE
(
scatternd_dyn_test
)
{
// dynamic input.
...
...
@@ -24,5 +23,3 @@ TEST_CASE(scatternd_dyn_test)
EXPECT
(
p
==
prog
);
}
test/onnx/parse/scatternd_invalid_reduction_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
TEST_CASE
(
scatternd_invalid_reduction_test
)
{
EXPECT
(
test
::
throws
([
&
]
{
migraphx
::
parse_onnx
(
"scatternd_invalid_reduction_test.onnx"
);
}));
}
test/onnx/parse/selu_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
TEST_CASE
(
selu_test
)
{
migraphx
::
program
p
;
...
...
@@ -34,5 +33,3 @@ TEST_CASE(selu_test)
EXPECT
(
p
==
prog
);
}
test/onnx/parse/shape_dyn_test0.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
TEST_CASE
(
shape_dyn_test0
)
{
migraphx
::
program
p
;
...
...
@@ -18,5 +17,3 @@ TEST_CASE(shape_dyn_test0)
EXPECT
(
p
==
prog
);
}
test/onnx/parse/shape_dyn_test1.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
TEST_CASE
(
shape_dyn_test1
)
{
migraphx
::
program
p
;
...
...
@@ -19,5 +18,3 @@ TEST_CASE(shape_dyn_test1)
EXPECT
(
p
==
prog
);
}
test/onnx/parse/shape_dyn_test2.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
TEST_CASE
(
shape_dyn_test2
)
{
migraphx
::
program
p
;
...
...
@@ -19,5 +18,3 @@ TEST_CASE(shape_dyn_test2)
EXPECT
(
p
==
prog
);
}
test/onnx/parse/shape_dyn_test3.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
TEST_CASE
(
shape_dyn_test3
)
{
migraphx
::
program
p
;
...
...
@@ -19,5 +18,3 @@ TEST_CASE(shape_dyn_test3)
EXPECT
(
p
==
prog
);
}
test/onnx/parse/shape_end_less_start_error.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
TEST_CASE
(
shape_end_less_start_error
)
{
migraphx
::
onnx_options
options
;
options
.
map_dyn_input_dims
[
"x"
]
=
{{
1
,
4
,
{
1
,
4
}},
{
4
,
4
},
{
2
,
4
},
{
2
,
4
}};
EXPECT
(
test
::
throws
([
&
]
{
migraphx
::
parse_onnx
(
"shape_end_less_start_error.onnx"
,
options
);
}));
}
test/onnx/parse/shape_end_oob_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
TEST_CASE
(
shape_end_oob_test
)
{
migraphx
::
program
p
;
...
...
@@ -18,5 +17,3 @@ TEST_CASE(shape_end_oob_test)
EXPECT
(
p
==
prog
);
}
Prev
1
…
16
17
18
19
20
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