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
f13b32f2
Commit
f13b32f2
authored
Jan 31, 2019
by
Shucai Xiao
Browse files
remove unused variable
parent
bd918b09
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
12 deletions
+11
-12
test/gpu/miopen.cpp
test/gpu/miopen.cpp
+11
-12
No files found.
test/gpu/miopen.cpp
View file @
f13b32f2
...
@@ -1083,7 +1083,7 @@ struct test_rnn_forward
...
@@ -1083,7 +1083,7 @@ struct test_rnn_forward
r
,
r
,
bias
,
bias
,
ih
);
ih
);
auto
last
=
p
.
add_instruction
(
migraphx
::
op
::
rnn_last_output
{},
output
);
p
.
add_instruction
(
migraphx
::
op
::
rnn_last_output
{},
output
);
return
p
;
return
p
;
}
}
...
@@ -1113,7 +1113,6 @@ struct test_rnn_reverse
...
@@ -1113,7 +1113,6 @@ struct test_rnn_reverse
auto
r
=
p
.
add_parameter
(
"r"
,
r_shape
);
auto
r
=
p
.
add_parameter
(
"r"
,
r_shape
);
auto
bias
=
p
.
add_parameter
(
"bias"
,
b_shape
);
auto
bias
=
p
.
add_parameter
(
"bias"
,
b_shape
);
auto
output
=
p
.
add_instruction
(
migraphx
::
op
::
rnn
{
hidden_size
,
p
.
add_instruction
(
migraphx
::
op
::
rnn
{
hidden_size
,
{
migraphx
::
op
::
tanh
{},
migraphx
::
op
::
tanh
{}},
{
migraphx
::
op
::
tanh
{},
migraphx
::
op
::
tanh
{}},
migraphx
::
op
::
rnn
::
reverse
,
migraphx
::
op
::
rnn
::
reverse
,
...
@@ -1162,7 +1161,7 @@ struct test_rnn_bidirectional
...
@@ -1162,7 +1161,7 @@ struct test_rnn_bidirectional
r
,
r
,
bias
,
bias
,
ih
);
ih
);
auto
last
=
p
.
add_instruction
(
migraphx
::
op
::
rnn_last_output
{},
output
);
p
.
add_instruction
(
migraphx
::
op
::
rnn_last_output
{},
output
);
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