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
1add453a
Commit
1add453a
authored
Jun 30, 2023
by
Khalique Ahmed
Browse files
change tests
parent
c00100f9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
test/verify/test_conv_add_relu.cpp
test/verify/test_conv_add_relu.cpp
+1
-1
test/verify/test_conv_pooling.cpp
test/verify/test_conv_pooling.cpp
+1
-0
No files found.
test/verify/test_conv_add_relu.cpp
View file @
1add453a
...
@@ -51,7 +51,7 @@ struct test_conv_add_relu : verify_program<test_conv_add_relu>
...
@@ -51,7 +51,7 @@ struct test_conv_add_relu : verify_program<test_conv_add_relu>
}
}
};
};
struct
test_conv_add_relu
:
verify_program
<
test_conv_add_relu
>
struct
test_conv_add_relu
_conv
:
verify_program
<
test_conv_add_relu
_conv
>
{
{
migraphx
::
program
create_program
()
const
migraphx
::
program
create_program
()
const
{
{
...
...
test/verify/test_conv_pooling.cpp
View file @
1add453a
...
@@ -42,6 +42,7 @@ struct test_conv_pooling : verify_program<test_conv_pooling>
...
@@ -42,6 +42,7 @@ struct test_conv_pooling : verify_program<test_conv_pooling>
auto
pooling
=
mm
->
add_instruction
(
auto
pooling
=
mm
->
add_instruction
(
migraphx
::
make_op
(
"pooling"
,
{{
"mode"
,
migraphx
::
op
::
pooling_mode
::
max
}}),
conv
);
migraphx
::
make_op
(
"pooling"
,
{{
"mode"
,
migraphx
::
op
::
pooling_mode
::
max
}}),
conv
);
mm
->
add_instruction
(
migraphx
::
make_op
(
"relu"
),
pooling
);
mm
->
add_instruction
(
migraphx
::
make_op
(
"relu"
),
pooling
);
std
::
cout
<<
p
<<
std
::
endl
;
return
p
;
return
p
;
}
}
};
};
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