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
0139038c
Commit
0139038c
authored
Nov 16, 2023
by
Nives Vukovic
Browse files
Format test ref file
parent
b34a8e60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
test/ref/rnn_ops.cpp
test/ref/rnn_ops.cpp
+2
-3
No files found.
test/ref/rnn_ops.cpp
View file @
0139038c
...
@@ -515,8 +515,7 @@ TEST_CASE(rnn_forward_layout)
...
@@ -515,8 +515,7 @@ TEST_CASE(rnn_forward_layout)
mm->add_return({out_hs, last_out});
mm->add_return({out_hs, last_out});
p.compile(migraphx::make_target("ref"));
p.compile(migraphx::make_target("ref"));
auto
outputs
=
p
.
eval
({});
auto outputs = p.eval({});
auto arg_hs = outputs.front();
auto arg_hs = outputs.front();
auto arg_last_output = outputs.back();
auto arg_last_output = outputs.back();
std::vector<float> last_output_data;
std::vector<float> last_output_data;
...
@@ -581,7 +580,7 @@ TEST_CASE(rnn_forward_layout)
...
@@ -581,7 +580,7 @@ TEST_CASE(rnn_forward_layout)
mm->add_return({out_hs, last_out});
mm->add_return({out_hs, last_out});
p.compile(migraphx::make_target("ref"));
p.compile(migraphx::make_target("ref"));
auto
outputs
=
p
.
eval
({});
auto outputs
= p.eval({});
auto arg_hs = outputs.front();
auto arg_hs = outputs.front();
auto arg_last_output = outputs.back();
auto arg_last_output = outputs.back();
std::vector<float> last_output_data;
std::vector<float> last_output_data;
...
...
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