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
aa412fc5
Commit
aa412fc5
authored
Jul 20, 2021
by
Khalique
Browse files
formatting
parent
23546ab5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
test/eliminate_contiguous_test.cpp
test/eliminate_contiguous_test.cpp
+2
-1
No files found.
test/eliminate_contiguous_test.cpp
View file @
aa412fc5
...
...
@@ -136,7 +136,8 @@ TEST_CASE(non_standard_flatten_op)
migraphx
::
module
m
;
auto
l
=
m
.
add_parameter
(
"x"
,
{
migraphx
::
shape
::
float_type
,
{
2
,
6
,
6
,
6
}});
auto
t
=
m
.
add_instruction
(
migraphx
::
make_op
(
"slice"
,
{{
"axes"
,
{
2
,
3
}},
{
"starts"
,
{
1
,
1
}},
{
"ends"
,
{
6
,
6
}}}),
l
);
auto
t
=
m
.
add_instruction
(
migraphx
::
make_op
(
"slice"
,
{{
"axes"
,
{
2
,
3
}},
{
"starts"
,
{
1
,
1
}},
{
"ends"
,
{
6
,
6
}}}),
l
);
auto
c
=
m
.
add_instruction
(
migraphx
::
make_op
(
"contiguous"
),
t
);
m
.
add_instruction
(
migraphx
::
make_op
(
"flatten"
),
c
);
auto
count
=
std
::
distance
(
m
.
begin
(),
m
.
end
());
...
...
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