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/layer_norm_3d_test.cpp
test/onnx/parse/layer_norm_3d_test.cpp
+0
-3
test/onnx/parse/layer_norm_4d_half_test.cpp
test/onnx/parse/layer_norm_4d_half_test.cpp
+0
-3
test/onnx/parse/layer_norm_4d_test.cpp
test/onnx/parse/layer_norm_4d_test.cpp
+0
-3
test/onnx/parse/layer_norm_invalid_axis_error_test.cpp
test/onnx/parse/layer_norm_invalid_axis_error_test.cpp
+0
-3
test/onnx/parse/layer_norm_invalid_input_count_error_test.cpp
.../onnx/parse/layer_norm_invalid_input_count_error_test.cpp
+0
-3
test/onnx/parse/layer_norm_invalid_minus_axis_error_test.cpp
test/onnx/parse/layer_norm_invalid_minus_axis_error_test.cpp
+0
-3
test/onnx/parse/layer_norm_small_eps_half_test.cpp
test/onnx/parse/layer_norm_small_eps_half_test.cpp
+0
-3
test/onnx/parse/layer_norm_without_bias_test.cpp
test/onnx/parse/layer_norm_without_bias_test.cpp
+0
-3
test/onnx/parse/leaky_relu_test.cpp
test/onnx/parse/leaky_relu_test.cpp
+0
-3
test/onnx/parse/less_bool_test.cpp
test/onnx/parse/less_bool_test.cpp
+0
-3
test/onnx/parse/less_test.cpp
test/onnx/parse/less_test.cpp
+0
-3
test/onnx/parse/lessorequal_test.cpp
test/onnx/parse/lessorequal_test.cpp
+0
-3
test/onnx/parse/log_test.cpp
test/onnx/parse/log_test.cpp
+0
-3
test/onnx/parse/logical_and_bcast_test.cpp
test/onnx/parse/logical_and_bcast_test.cpp
+0
-3
test/onnx/parse/logical_or_test.cpp
test/onnx/parse/logical_or_test.cpp
+0
-3
test/onnx/parse/logical_xor_bcast_test.cpp
test/onnx/parse/logical_xor_bcast_test.cpp
+0
-3
test/onnx/parse/logsoftmax_nonstd_input_test.cpp
test/onnx/parse/logsoftmax_nonstd_input_test.cpp
+0
-3
test/onnx/parse/logsoftmax_test.cpp
test/onnx/parse/logsoftmax_test.cpp
+0
-3
test/onnx/parse/loop_default_test.cpp
test/onnx/parse/loop_default_test.cpp
+0
-3
test/onnx/parse/loop_test.cpp
test/onnx/parse/loop_test.cpp
+0
-3
No files found.
test/onnx/parse/layer_norm_3d_test.cpp
View file @
f9691e2e
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
#include <onnx_test.hpp>
#include <onnx_test.hpp>
#include <onnx_test_utils.hpp>
#include <onnx_test_utils.hpp>
TEST_CASE
(
layer_norm_3d_test
)
TEST_CASE
(
layer_norm_3d_test
)
{
{
migraphx
::
program
p
=
make_layer_norm
({
1
,
4
,
2
},
{
2
},
{
2
},
2
);
migraphx
::
program
p
=
make_layer_norm
({
1
,
4
,
2
},
{
2
},
{
2
},
2
);
...
@@ -10,5 +9,3 @@ TEST_CASE(layer_norm_3d_test)
...
@@ -10,5 +9,3 @@ TEST_CASE(layer_norm_3d_test)
auto
prog
=
optimize_onnx
(
"layer_norm_3d_test.onnx"
);
auto
prog
=
optimize_onnx
(
"layer_norm_3d_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/layer_norm_4d_half_test.cpp
View file @
f9691e2e
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
#include <onnx_test.hpp>
#include <onnx_test.hpp>
#include <onnx_test_utils.hpp>
#include <onnx_test_utils.hpp>
TEST_CASE
(
layer_norm_4d_half_test
)
TEST_CASE
(
layer_norm_4d_half_test
)
{
{
migraphx
::
program
p
=
migraphx
::
program
p
=
...
@@ -11,5 +10,3 @@ TEST_CASE(layer_norm_4d_half_test)
...
@@ -11,5 +10,3 @@ TEST_CASE(layer_norm_4d_half_test)
auto
prog
=
optimize_onnx
(
"layer_norm_4d_half_test.onnx"
);
auto
prog
=
optimize_onnx
(
"layer_norm_4d_half_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/layer_norm_4d_test.cpp
View file @
f9691e2e
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
#include <onnx_test.hpp>
#include <onnx_test.hpp>
#include <onnx_test_utils.hpp>
#include <onnx_test_utils.hpp>
TEST_CASE
(
layer_norm_4d_test
)
TEST_CASE
(
layer_norm_4d_test
)
{
{
migraphx
::
program
p
=
make_layer_norm
({
3
,
3
,
3
,
3
},
{
3
},
{
3
},
3
);
migraphx
::
program
p
=
make_layer_norm
({
3
,
3
,
3
,
3
},
{
3
},
{
3
},
3
);
...
@@ -10,5 +9,3 @@ TEST_CASE(layer_norm_4d_test)
...
@@ -10,5 +9,3 @@ TEST_CASE(layer_norm_4d_test)
auto
prog
=
optimize_onnx
(
"layer_norm_4d_test.onnx"
);
auto
prog
=
optimize_onnx
(
"layer_norm_4d_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/layer_norm_invalid_axis_error_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
layer_norm_invalid_axis_error_test
)
TEST_CASE
(
layer_norm_invalid_axis_error_test
)
{
{
EXPECT
(
test
::
throws
([
&
]
{
migraphx
::
parse_onnx
(
"layer_norm_invalid_axis_error_test.onnx"
);
}));
EXPECT
(
test
::
throws
([
&
]
{
migraphx
::
parse_onnx
(
"layer_norm_invalid_axis_error_test.onnx"
);
}));
}
}
test/onnx/parse/layer_norm_invalid_input_count_error_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
layer_norm_invalid_input_count_error_test
)
TEST_CASE
(
layer_norm_invalid_input_count_error_test
)
{
{
EXPECT
(
test
::
throws
(
EXPECT
(
test
::
throws
(
[
&
]
{
migraphx
::
parse_onnx
(
"layer_norm_invalid_input_count_error_test.onnx"
);
}));
[
&
]
{
migraphx
::
parse_onnx
(
"layer_norm_invalid_input_count_error_test.onnx"
);
}));
}
}
test/onnx/parse/layer_norm_invalid_minus_axis_error_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
layer_norm_invalid_minus_axis_error_test
)
TEST_CASE
(
layer_norm_invalid_minus_axis_error_test
)
{
{
EXPECT
(
test
::
throws
(
EXPECT
(
test
::
throws
(
[
&
]
{
migraphx
::
parse_onnx
(
"layer_norm_invalid_minus_axis_error_test.onnx"
);
}));
[
&
]
{
migraphx
::
parse_onnx
(
"layer_norm_invalid_minus_axis_error_test.onnx"
);
}));
}
}
test/onnx/parse/layer_norm_small_eps_half_test.cpp
View file @
f9691e2e
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
#include <onnx_test.hpp>
#include <onnx_test.hpp>
#include <onnx_test_utils.hpp>
#include <onnx_test_utils.hpp>
TEST_CASE
(
layer_norm_small_eps_half_test
)
TEST_CASE
(
layer_norm_small_eps_half_test
)
{
{
migraphx
::
program
p
=
migraphx
::
program
p
=
...
@@ -11,5 +10,3 @@ TEST_CASE(layer_norm_small_eps_half_test)
...
@@ -11,5 +10,3 @@ TEST_CASE(layer_norm_small_eps_half_test)
auto
prog
=
optimize_onnx
(
"layer_norm_small_eps_half_test.onnx"
);
auto
prog
=
optimize_onnx
(
"layer_norm_small_eps_half_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/layer_norm_without_bias_test.cpp
View file @
f9691e2e
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
#include <onnx_test.hpp>
#include <onnx_test.hpp>
#include <onnx_test_utils.hpp>
#include <onnx_test_utils.hpp>
TEST_CASE
(
layer_norm_without_bias_test
)
TEST_CASE
(
layer_norm_without_bias_test
)
{
{
migraphx
::
program
p
=
make_layer_norm
({
1
,
2
},
{
2
},
{
1
},
1
,
true
);
migraphx
::
program
p
=
make_layer_norm
({
1
,
2
},
{
2
},
{
1
},
1
,
true
);
...
@@ -10,5 +9,3 @@ TEST_CASE(layer_norm_without_bias_test)
...
@@ -10,5 +9,3 @@ TEST_CASE(layer_norm_without_bias_test)
auto
prog
=
optimize_onnx
(
"layer_norm_without_bias_test.onnx"
);
auto
prog
=
optimize_onnx
(
"layer_norm_without_bias_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/leaky_relu_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
leaky_relu_test
)
TEST_CASE
(
leaky_relu_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -14,5 +13,3 @@ TEST_CASE(leaky_relu_test)
...
@@ -14,5 +13,3 @@ TEST_CASE(leaky_relu_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/less_bool_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
less_bool_test
)
TEST_CASE
(
less_bool_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -21,5 +20,3 @@ TEST_CASE(less_bool_test)
...
@@ -21,5 +20,3 @@ TEST_CASE(less_bool_test)
auto
prog
=
migraphx
::
parse_onnx
(
"less_bool_test.onnx"
);
auto
prog
=
migraphx
::
parse_onnx
(
"less_bool_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/less_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
less_test
)
TEST_CASE
(
less_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -21,5 +20,3 @@ TEST_CASE(less_test)
...
@@ -21,5 +20,3 @@ TEST_CASE(less_test)
auto
prog
=
migraphx
::
parse_onnx
(
"less_test.onnx"
);
auto
prog
=
migraphx
::
parse_onnx
(
"less_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/lessorequal_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
lessorequal_test
)
TEST_CASE
(
lessorequal_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -19,5 +18,3 @@ TEST_CASE(lessorequal_test)
...
@@ -19,5 +18,3 @@ TEST_CASE(lessorequal_test)
auto
prog
=
migraphx
::
parse_onnx
(
"lessorequal_test.onnx"
);
auto
prog
=
migraphx
::
parse_onnx
(
"lessorequal_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/log_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
log_test
)
TEST_CASE
(
log_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -12,5 +11,3 @@ TEST_CASE(log_test)
...
@@ -12,5 +11,3 @@ TEST_CASE(log_test)
auto
prog
=
optimize_onnx
(
"log_test.onnx"
);
auto
prog
=
optimize_onnx
(
"log_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/logical_and_bcast_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
logical_and_bcast_test
)
TEST_CASE
(
logical_and_bcast_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -17,5 +16,3 @@ TEST_CASE(logical_and_bcast_test)
...
@@ -17,5 +16,3 @@ TEST_CASE(logical_and_bcast_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/logical_or_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
logical_or_test
)
TEST_CASE
(
logical_or_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -15,5 +14,3 @@ TEST_CASE(logical_or_test)
...
@@ -15,5 +14,3 @@ TEST_CASE(logical_or_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/logical_xor_bcast_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
logical_xor_bcast_test
)
TEST_CASE
(
logical_xor_bcast_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -17,5 +16,3 @@ TEST_CASE(logical_xor_bcast_test)
...
@@ -17,5 +16,3 @@ TEST_CASE(logical_xor_bcast_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/logsoftmax_nonstd_input_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
logsoftmax_nonstd_input_test
)
TEST_CASE
(
logsoftmax_nonstd_input_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -16,5 +15,3 @@ TEST_CASE(logsoftmax_nonstd_input_test)
...
@@ -16,5 +15,3 @@ TEST_CASE(logsoftmax_nonstd_input_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/logsoftmax_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
logsoftmax_test
)
TEST_CASE
(
logsoftmax_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -13,5 +12,3 @@ TEST_CASE(logsoftmax_test)
...
@@ -13,5 +12,3 @@ TEST_CASE(logsoftmax_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/loop_default_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
loop_default_test
)
TEST_CASE
(
loop_default_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -40,5 +39,3 @@ TEST_CASE(loop_default_test)
...
@@ -40,5 +39,3 @@ TEST_CASE(loop_default_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/loop_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
loop_test
)
TEST_CASE
(
loop_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -38,5 +37,3 @@ TEST_CASE(loop_test)
...
@@ -38,5 +37,3 @@ TEST_CASE(loop_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
Prev
1
…
8
9
10
11
12
13
14
15
16
…
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