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
3f4d78bd
"tools/trial_tool/trial_keeper.py" did not exist on "cc5372e205dc635494a7f50b1c30479d5cfd674d"
Commit
3f4d78bd
authored
Jun 13, 2022
by
Paul
Browse files
Format
parent
d117d25d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
test/layout_nhwc.cpp
test/layout_nhwc.cpp
+4
-2
No files found.
test/layout_nhwc.cpp
View file @
3f4d78bd
...
...
@@ -73,7 +73,8 @@ TEST_CASE(conv_add)
x
,
w
);
auto
b
=
m1
.
add_instruction
(
migraphx
::
make_op
(
"broadcast"
,
{{
"axis"
,
1
},
{
"out_lens"
,
conv
->
get_shape
().
lens
()}}),
y
);
migraphx
::
make_op
(
"broadcast"
,
{{
"axis"
,
1
},
{
"out_lens"
,
conv
->
get_shape
().
lens
()}}),
y
);
m1
.
add_instruction
(
migraphx
::
make_op
(
"add"
),
conv
,
b
);
}
run_pass
(
m1
);
...
...
@@ -92,7 +93,8 @@ TEST_CASE(conv_add)
x
,
w
);
auto
b
=
m2
.
add_instruction
(
migraphx
::
make_op
(
"broadcast"
,
{{
"axis"
,
1
},
{
"out_lens"
,
conv
->
get_shape
().
lens
()}}),
y
);
migraphx
::
make_op
(
"broadcast"
,
{{
"axis"
,
1
},
{
"out_lens"
,
conv
->
get_shape
().
lens
()}}),
y
);
auto
add
=
m2
.
add_instruction
(
migraphx
::
make_op
(
"add"
),
conv
,
b
);
m2
.
add_instruction
(
layout
(),
add
);
}
...
...
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