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/slice_step_dyn_test.cpp
test/onnx/parse/slice_step_dyn_test.cpp
+0
-3
test/onnx/parse/slice_test.cpp
test/onnx/parse/slice_test.cpp
+0
-3
test/onnx/parse/slice_var_input_default_steps.cpp
test/onnx/parse/slice_var_input_default_steps.cpp
+0
-3
test/onnx/parse/slice_var_input_dyn0.cpp
test/onnx/parse/slice_var_input_dyn0.cpp
+0
-3
test/onnx/parse/slice_var_input_dyn1.cpp
test/onnx/parse/slice_var_input_dyn1.cpp
+0
-3
test/onnx/parse/slice_var_input_static0.cpp
test/onnx/parse/slice_var_input_static0.cpp
+0
-3
test/onnx/parse/slice_var_input_static1.cpp
test/onnx/parse/slice_var_input_static1.cpp
+0
-3
test/onnx/parse/slice_var_input_steps_error.cpp
test/onnx/parse/slice_var_input_steps_error.cpp
+0
-3
test/onnx/parse/softmax_dyn_test.cpp
test/onnx/parse/softmax_dyn_test.cpp
+0
-3
test/onnx/parse/softmax_nonstd_input_test.cpp
test/onnx/parse/softmax_nonstd_input_test.cpp
+0
-3
test/onnx/parse/softmax_test.cpp
test/onnx/parse/softmax_test.cpp
+0
-3
test/onnx/parse/softplus_nd_test.cpp
test/onnx/parse/softplus_nd_test.cpp
+0
-3
test/onnx/parse/softplus_test.cpp
test/onnx/parse/softplus_test.cpp
+0
-3
test/onnx/parse/softsign_nd_test.cpp
test/onnx/parse/softsign_nd_test.cpp
+0
-3
test/onnx/parse/softsign_test.cpp
test/onnx/parse/softsign_test.cpp
+0
-3
test/onnx/parse/spacetodepth_invalid_blocksize_test.cpp
test/onnx/parse/spacetodepth_invalid_blocksize_test.cpp
+0
-3
test/onnx/parse/spacetodepth_nondivisibility_test.cpp
test/onnx/parse/spacetodepth_nondivisibility_test.cpp
+0
-3
test/onnx/parse/spacetodepth_simple_test.cpp
test/onnx/parse/spacetodepth_simple_test.cpp
+0
-3
test/onnx/parse/spacetodepth_test.cpp
test/onnx/parse/spacetodepth_test.cpp
+0
-3
test/onnx/parse/split_minus_axis_test.cpp
test/onnx/parse/split_minus_axis_test.cpp
+0
-3
No files found.
test/onnx/parse/slice_step_dyn_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
slice_step_dyn_test
)
TEST_CASE
(
slice_step_dyn_test
)
{
{
// A slice command with non-default steps will have a "Step" instruction added in parsing.
// A slice command with non-default steps will have a "Step" instruction added in parsing.
...
@@ -10,5 +9,3 @@ TEST_CASE(slice_step_dyn_test)
...
@@ -10,5 +9,3 @@ TEST_CASE(slice_step_dyn_test)
options
.
default_dyn_dim_value
=
{
1
,
4
};
options
.
default_dyn_dim_value
=
{
1
,
4
};
EXPECT
(
test
::
throws
([
&
]
{
migraphx
::
parse_onnx
(
"slice_step_dyn_test.onnx"
,
options
);
}));
EXPECT
(
test
::
throws
([
&
]
{
migraphx
::
parse_onnx
(
"slice_step_dyn_test.onnx"
,
options
);
}));
}
}
test/onnx/parse/slice_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
slice_test
)
TEST_CASE
(
slice_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -13,5 +12,3 @@ TEST_CASE(slice_test)
...
@@ -13,5 +12,3 @@ TEST_CASE(slice_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/slice_var_input_default_steps.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
slice_var_input_default_steps
)
TEST_CASE
(
slice_var_input_default_steps
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -20,5 +19,3 @@ TEST_CASE(slice_var_input_default_steps)
...
@@ -20,5 +19,3 @@ TEST_CASE(slice_var_input_default_steps)
auto
prog
=
parse_onnx
(
"slice_var_input_default_steps.onnx"
,
options
);
auto
prog
=
parse_onnx
(
"slice_var_input_default_steps.onnx"
,
options
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/slice_var_input_dyn0.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
slice_var_input_dyn0
)
TEST_CASE
(
slice_var_input_dyn0
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -19,5 +18,3 @@ TEST_CASE(slice_var_input_dyn0)
...
@@ -19,5 +18,3 @@ TEST_CASE(slice_var_input_dyn0)
auto
prog
=
parse_onnx
(
"slice_var_input_dyn0.onnx"
,
options
);
auto
prog
=
parse_onnx
(
"slice_var_input_dyn0.onnx"
,
options
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/slice_var_input_dyn1.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
slice_var_input_dyn1
)
TEST_CASE
(
slice_var_input_dyn1
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -19,5 +18,3 @@ TEST_CASE(slice_var_input_dyn1)
...
@@ -19,5 +18,3 @@ TEST_CASE(slice_var_input_dyn1)
auto
prog
=
parse_onnx
(
"slice_var_input_dyn1.onnx"
,
options
);
auto
prog
=
parse_onnx
(
"slice_var_input_dyn1.onnx"
,
options
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/slice_var_input_static0.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
slice_var_input_static0
)
TEST_CASE
(
slice_var_input_static0
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -14,5 +13,3 @@ TEST_CASE(slice_var_input_static0)
...
@@ -14,5 +13,3 @@ TEST_CASE(slice_var_input_static0)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/slice_var_input_static1.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
slice_var_input_static1
)
TEST_CASE
(
slice_var_input_static1
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -15,5 +14,3 @@ TEST_CASE(slice_var_input_static1)
...
@@ -15,5 +14,3 @@ TEST_CASE(slice_var_input_static1)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/slice_var_input_steps_error.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
slice_var_input_steps_error
)
TEST_CASE
(
slice_var_input_steps_error
)
{
{
EXPECT
(
test
::
throws
([
&
]
{
migraphx
::
parse_onnx
(
"slice_var_input_steps_error.onnx"
);
}));
EXPECT
(
test
::
throws
([
&
]
{
migraphx
::
parse_onnx
(
"slice_var_input_steps_error.onnx"
);
}));
}
}
test/onnx/parse/softmax_dyn_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
softmax_dyn_test
)
TEST_CASE
(
softmax_dyn_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -17,5 +16,3 @@ TEST_CASE(softmax_dyn_test)
...
@@ -17,5 +16,3 @@ TEST_CASE(softmax_dyn_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/softmax_nonstd_input_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
softmax_nonstd_input_test
)
TEST_CASE
(
softmax_nonstd_input_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -16,5 +15,3 @@ TEST_CASE(softmax_nonstd_input_test)
...
@@ -16,5 +15,3 @@ TEST_CASE(softmax_nonstd_input_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/softmax_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
softmax_test
)
TEST_CASE
(
softmax_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -12,5 +11,3 @@ TEST_CASE(softmax_test)
...
@@ -12,5 +11,3 @@ TEST_CASE(softmax_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/softplus_nd_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
softplus_nd_test
)
TEST_CASE
(
softplus_nd_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -21,5 +20,3 @@ TEST_CASE(softplus_nd_test)
...
@@ -21,5 +20,3 @@ TEST_CASE(softplus_nd_test)
auto
prog
=
optimize_onnx
(
"softplus_nd_test.onnx"
);
auto
prog
=
optimize_onnx
(
"softplus_nd_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/softplus_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
softplus_test
)
TEST_CASE
(
softplus_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -21,5 +20,3 @@ TEST_CASE(softplus_test)
...
@@ -21,5 +20,3 @@ TEST_CASE(softplus_test)
auto
prog
=
optimize_onnx
(
"softplus_test.onnx"
);
auto
prog
=
optimize_onnx
(
"softplus_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/softsign_nd_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
softsign_nd_test
)
TEST_CASE
(
softsign_nd_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -21,5 +20,3 @@ TEST_CASE(softsign_nd_test)
...
@@ -21,5 +20,3 @@ TEST_CASE(softsign_nd_test)
auto
prog
=
optimize_onnx
(
"softsign_nd_test.onnx"
);
auto
prog
=
optimize_onnx
(
"softsign_nd_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/softsign_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
softsign_test
)
TEST_CASE
(
softsign_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -21,5 +20,3 @@ TEST_CASE(softsign_test)
...
@@ -21,5 +20,3 @@ TEST_CASE(softsign_test)
auto
prog
=
optimize_onnx
(
"softsign_test.onnx"
);
auto
prog
=
optimize_onnx
(
"softsign_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/spacetodepth_invalid_blocksize_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
spacetodepth_invalid_blocksize
)
TEST_CASE
(
spacetodepth_invalid_blocksize
)
{
{
EXPECT
(
test
::
throws
([
&
]
{
migraphx
::
parse_onnx
(
"spacetodepth_invalid_blocksize_test.onnx"
);
}));
EXPECT
(
test
::
throws
([
&
]
{
migraphx
::
parse_onnx
(
"spacetodepth_invalid_blocksize_test.onnx"
);
}));
}
}
test/onnx/parse/spacetodepth_nondivisibility_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
spacetodepth_nondivisibility_test
)
TEST_CASE
(
spacetodepth_nondivisibility_test
)
{
{
EXPECT
(
test
::
throws
([
&
]
{
migraphx
::
parse_onnx
(
"spacetodepth_nondivisibility_test.onnx"
);
}));
EXPECT
(
test
::
throws
([
&
]
{
migraphx
::
parse_onnx
(
"spacetodepth_nondivisibility_test.onnx"
);
}));
}
}
test/onnx/parse/spacetodepth_simple_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
spacetodepth_simple_test
)
TEST_CASE
(
spacetodepth_simple_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -15,5 +14,3 @@ TEST_CASE(spacetodepth_simple_test)
...
@@ -15,5 +14,3 @@ TEST_CASE(spacetodepth_simple_test)
auto
prog
=
optimize_onnx
(
"spacetodepth_simple_test.onnx"
);
auto
prog
=
optimize_onnx
(
"spacetodepth_simple_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/spacetodepth_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
spacetodepth_test
)
TEST_CASE
(
spacetodepth_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -15,5 +14,3 @@ TEST_CASE(spacetodepth_test)
...
@@ -15,5 +14,3 @@ TEST_CASE(spacetodepth_test)
auto
prog
=
optimize_onnx
(
"spacetodepth_test.onnx"
);
auto
prog
=
optimize_onnx
(
"spacetodepth_test.onnx"
);
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
test/onnx/parse/split_minus_axis_test.cpp
View file @
f9691e2e
#include <onnx_test.hpp>
#include <onnx_test.hpp>
TEST_CASE
(
split_minus_axis_test
)
TEST_CASE
(
split_minus_axis_test
)
{
{
migraphx
::
program
p
;
migraphx
::
program
p
;
...
@@ -19,5 +18,3 @@ TEST_CASE(split_minus_axis_test)
...
@@ -19,5 +18,3 @@ TEST_CASE(split_minus_axis_test)
EXPECT
(
p
==
prog
);
EXPECT
(
p
==
prog
);
}
}
Prev
1
…
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