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
4702c17e
"git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "ef048a568dfa088acba418d1e522084bc5181d68"
Commit
4702c17e
authored
Feb 15, 2019
by
Shucai Xiao
Browse files
fixed an error in lstm_implementation.
parent
59f2e8e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/rewrite_rnn.cpp
src/rewrite_rnn.cpp
+1
-1
No files found.
src/rewrite_rnn.cpp
View file @
4702c17e
...
...
@@ -872,7 +872,7 @@ void rewrite_rnn::apply_lstm(program& prog, instruction_ref ins) const
while
(
last_output_it
!=
ins
->
outputs
().
end
())
{
last_output_it
=
std
::
find_if
(
last_output_it
,
ins
->
outputs
().
end
(),
[](
auto
i
)
{
return
i
->
name
()
==
"
lstm
_last_output"
;
return
i
->
name
()
==
"
rnn
_last_output"
;
});
if
(
last_output_it
!=
ins
->
outputs
().
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