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/const_of_shape_dyn_int64_test.cpp
test/onnx/parse/const_of_shape_dyn_int64_test.cpp
+0
-3
test/onnx/parse/const_of_shape_empty_input_test.cpp
test/onnx/parse/const_of_shape_empty_input_test.cpp
+0
-3
test/onnx/parse/const_of_shape_float_test.cpp
test/onnx/parse/const_of_shape_float_test.cpp
+0
-3
test/onnx/parse/const_of_shape_int64_test.cpp
test/onnx/parse/const_of_shape_int64_test.cpp
+0
-3
test/onnx/parse/const_of_shape_no_value_attr_test.cpp
test/onnx/parse/const_of_shape_no_value_attr_test.cpp
+0
-3
test/onnx/parse/constant_empty_scalar_int64_test.cpp
test/onnx/parse/constant_empty_scalar_int64_test.cpp
+0
-3
test/onnx/parse/constant_fill_input_as_shape_test.cpp
test/onnx/parse/constant_fill_input_as_shape_test.cpp
+0
-3
test/onnx/parse/constant_fill_test.cpp
test/onnx/parse/constant_fill_test.cpp
+0
-3
test/onnx/parse/constant_multiple_attributes_test.cpp
test/onnx/parse/constant_multiple_attributes_test.cpp
+0
-3
test/onnx/parse/constant_no_attributes_test.cpp
test/onnx/parse/constant_no_attributes_test.cpp
+0
-3
test/onnx/parse/constant_one_val_int64_test.cpp
test/onnx/parse/constant_one_val_int64_test.cpp
+0
-3
test/onnx/parse/constant_scalar_test.cpp
test/onnx/parse/constant_scalar_test.cpp
+0
-3
test/onnx/parse/constant_test.cpp
test/onnx/parse/constant_test.cpp
+0
-3
test/onnx/parse/constant_value_float_test.cpp
test/onnx/parse/constant_value_float_test.cpp
+0
-3
test/onnx/parse/constant_value_floats_test.cpp
test/onnx/parse/constant_value_floats_test.cpp
+0
-3
test/onnx/parse/constant_value_int_test.cpp
test/onnx/parse/constant_value_int_test.cpp
+0
-3
test/onnx/parse/constant_value_ints_test.cpp
test/onnx/parse/constant_value_ints_test.cpp
+0
-3
test/onnx/parse/conv_1d_test.cpp
test/onnx/parse/conv_1d_test.cpp
+0
-3
test/onnx/parse/conv_3d_test.cpp
test/onnx/parse/conv_3d_test.cpp
+0
-3
test/onnx/parse/conv_attr_fail_test.cpp
test/onnx/parse/conv_attr_fail_test.cpp
+0
-3
No files found.
test/onnx/parse/const_of_shape_dyn_int64_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
const_of_shape_dyn_int64_test
)
TEST_CASE
(
const_of_shape_dyn_int64_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -19,5 +18,3 @@ TEST_CASE(const_of_shape_dyn_int64_test)
...
@@ -19,5 +18,3 @@ TEST_CASE(const_of_shape_dyn_int64_test)
auto
prog
=
parse_onnx
(
"const_of_shape_dyn_int64_test.onnx"
,
options
);
auto
prog
=
parse_onnx
(
"const_of_shape_dyn_int64_test.onnx"
,
options
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/const_of_shape_empty_input_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
const_of_shape_empty_input_test
)
TEST_CASE
(
const_of_shape_empty_input_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -14,5 +13,3 @@ TEST_CASE(const_of_shape_empty_input_test)
...
@@ -14,5 +13,3 @@ TEST_CASE(const_of_shape_empty_input_test)
auto
prog
=
optimize_onnx
(
"const_of_shape_empty_input_test.onnx"
);
auto
prog
=
optimize_onnx
(
"const_of_shape_empty_input_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/const_of_shape_float_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
const_of_shape_float_test
)
TEST_CASE
(
const_of_shape_float_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -15,5 +14,3 @@ TEST_CASE(const_of_shape_float_test)
...
@@ -15,5 +14,3 @@ TEST_CASE(const_of_shape_float_test)
auto
prog
=
optimize_onnx
(
"const_of_shape_float_test.onnx"
);
auto
prog
=
optimize_onnx
(
"const_of_shape_float_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/const_of_shape_int64_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
const_of_shape_int64_test
)
TEST_CASE
(
const_of_shape_int64_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -17,5 +16,3 @@ TEST_CASE(const_of_shape_int64_test)
...
@@ -17,5 +16,3 @@ TEST_CASE(const_of_shape_int64_test)
auto
prog
=
optimize_onnx
(
"const_of_shape_int64_test.onnx"
);
auto
prog
=
optimize_onnx
(
"const_of_shape_int64_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/const_of_shape_no_value_attr_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
const_of_shape_no_value_attr_test
)
TEST_CASE
(
const_of_shape_no_value_attr_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -15,5 +14,3 @@ TEST_CASE(const_of_shape_no_value_attr_test)
...
@@ -15,5 +14,3 @@ TEST_CASE(const_of_shape_no_value_attr_test)
auto
prog
=
optimize_onnx
(
"const_of_shape_no_value_attr_test.onnx"
);
auto
prog
=
optimize_onnx
(
"const_of_shape_no_value_attr_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/constant_empty_scalar_int64_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
constant_empty_scalar_int64_test
)
TEST_CASE
(
constant_empty_scalar_int64_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -11,5 +10,3 @@ TEST_CASE(constant_empty_scalar_int64_test)
...
@@ -11,5 +10,3 @@ TEST_CASE(constant_empty_scalar_int64_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/constant_fill_input_as_shape_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
constant_fill_input_as_shape_test
)
TEST_CASE
(
constant_fill_input_as_shape_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -17,5 +16,3 @@ TEST_CASE(constant_fill_input_as_shape_test)
...
@@ -17,5 +16,3 @@ TEST_CASE(constant_fill_input_as_shape_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/constant_fill_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
constant_fill_test
)
TEST_CASE
(
constant_fill_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -13,5 +12,3 @@ TEST_CASE(constant_fill_test)
...
@@ -13,5 +12,3 @@ TEST_CASE(constant_fill_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/constant_multiple_attributes_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
constant_multiple_attributes_test
)
TEST_CASE
(
constant_multiple_attributes_test
)
{
{
EXPECT
(
test
::
throws
([
&
]
{
optimize_onnx
(
"constant_multiple_attributes_test.onnx"
);
}));
EXPECT
(
test
::
throws
([
&
]
{
optimize_onnx
(
"constant_multiple_attributes_test.onnx"
);
}));
}
}
test/onnx/parse/constant_no_attributes_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
constant_no_attributes_test
)
TEST_CASE
(
constant_no_attributes_test
)
{
{
EXPECT
(
test
::
throws
([
&
]
{
optimize_onnx
(
"constant_no_attributes_test.onnx"
);
}));
EXPECT
(
test
::
throws
([
&
]
{
optimize_onnx
(
"constant_no_attributes_test.onnx"
);
}));
}
}
test/onnx/parse/constant_one_val_int64_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
constant_one_val_int64_test
)
TEST_CASE
(
constant_one_val_int64_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -11,5 +10,3 @@ TEST_CASE(constant_one_val_int64_test)
...
@@ -11,5 +10,3 @@ TEST_CASE(constant_one_val_int64_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/constant_scalar_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
constant_scalar_test
)
TEST_CASE
(
constant_scalar_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -11,5 +10,3 @@ TEST_CASE(constant_scalar_test)
...
@@ -11,5 +10,3 @@ TEST_CASE(constant_scalar_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/constant_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
constant_test
)
TEST_CASE
(
constant_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -12,5 +11,3 @@ TEST_CASE(constant_test)
...
@@ -12,5 +11,3 @@ TEST_CASE(constant_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/constant_value_float_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
constant_value_float_test
)
TEST_CASE
(
constant_value_float_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -11,5 +10,3 @@ TEST_CASE(constant_value_float_test)
...
@@ -11,5 +10,3 @@ TEST_CASE(constant_value_float_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/constant_value_floats_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
constant_value_floats_test
)
TEST_CASE
(
constant_value_floats_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -12,5 +11,3 @@ TEST_CASE(constant_value_floats_test)
...
@@ -12,5 +11,3 @@ TEST_CASE(constant_value_floats_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/constant_value_int_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
constant_value_int_test
)
TEST_CASE
(
constant_value_int_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -11,5 +10,3 @@ TEST_CASE(constant_value_int_test)
...
@@ -11,5 +10,3 @@ TEST_CASE(constant_value_int_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/constant_value_ints_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
constant_value_ints_test
)
TEST_CASE
(
constant_value_ints_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -12,5 +11,3 @@ TEST_CASE(constant_value_ints_test)
...
@@ -12,5 +11,3 @@ TEST_CASE(constant_value_ints_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/conv_1d_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
conv_1d_test
)
TEST_CASE
(
conv_1d_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -16,5 +15,3 @@ TEST_CASE(conv_1d_test)
...
@@ -16,5 +15,3 @@ TEST_CASE(conv_1d_test)
auto
prog
=
optimize_onnx
(
"conv_1d_test.onnx"
);
auto
prog
=
optimize_onnx
(
"conv_1d_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/conv_3d_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
conv_3d_test
)
TEST_CASE
(
conv_3d_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -17,5 +16,3 @@ TEST_CASE(conv_3d_test)
...
@@ -17,5 +16,3 @@ TEST_CASE(conv_3d_test)
auto
prog
=
optimize_onnx
(
"conv_3d_test.onnx"
);
auto
prog
=
optimize_onnx
(
"conv_3d_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/conv_attr_fail_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
conv_attr_fail_test
)
TEST_CASE
(
conv_attr_fail_test
)
{
{
EXPECT
(
test
::
throws
([
&
]
{
migraphx
::
parse_onnx
(
"conv_attr_fail_test.onnx"
);
}));
EXPECT
(
test
::
throws
([
&
]
{
migraphx
::
parse_onnx
(
"conv_attr_fail_test.onnx"
);
}));
}
}
Prev
1
2
3
4
5
6
7
8
…
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