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
6a600e9c
Commit
6a600e9c
authored
Feb 17, 2019
by
Shucai Xiao
Browse files
clang format
parent
a0a0db05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
test/op_shape_test.cpp
test/op_shape_test.cpp
+9
-10
No files found.
test/op_shape_test.cpp
View file @
6a600e9c
...
@@ -663,9 +663,9 @@ TEST_CASE(lstm)
...
@@ -663,9 +663,9 @@ TEST_CASE(lstm)
expect_shape
(
migraphx
::
shape
{
migraphx
::
shape
::
float_type
,
expect_shape
(
migraphx
::
shape
{
migraphx
::
shape
::
float_type
,
{
seq_len
,
num_dirct
,
batch_size
,
hidden_size
}},
{
seq_len
,
num_dirct
,
batch_size
,
hidden_size
}},
migraphx
::
op
::
lstm
{
hidden_size
,
migraphx
::
op
::
lstm
{
hidden_size
,
{
migraphx
::
op
::
tanh
{}},
{
migraphx
::
op
::
tanh
{}},
migraphx
::
op
::
rnn_direction
::
bidirectional
,
migraphx
::
op
::
rnn_direction
::
bidirectional
,
clip
},
clip
},
in_shape
,
in_shape
,
w_shape
,
w_shape
,
r_shape
,
r_shape
,
...
@@ -690,9 +690,9 @@ TEST_CASE(lstm)
...
@@ -690,9 +690,9 @@ TEST_CASE(lstm)
migraphx
::
shape
ih_shape
{
migraphx
::
shape
::
float_type
,
{
num_dirct
,
batch_size
,
hidden_size
}};
migraphx
::
shape
ih_shape
{
migraphx
::
shape
::
float_type
,
{
num_dirct
,
batch_size
,
hidden_size
}};
throws_shape
(
migraphx
::
op
::
lstm
{
hidden_size
+
1
,
throws_shape
(
migraphx
::
op
::
lstm
{
hidden_size
+
1
,
{
migraphx
::
op
::
tanh
{}},
{
migraphx
::
op
::
tanh
{}},
migraphx
::
op
::
rnn_direction
::
forward
,
migraphx
::
op
::
rnn_direction
::
forward
,
clip
},
clip
},
in_shape
,
in_shape
,
w_shape
,
w_shape
,
r_shape
,
r_shape
,
...
@@ -717,9 +717,9 @@ TEST_CASE(lstm)
...
@@ -717,9 +717,9 @@ TEST_CASE(lstm)
migraphx
::
shape
ih_shape
{
migraphx
::
shape
::
float_type
,
{
num_dirct
,
batch_size
,
hidden_size
}};
migraphx
::
shape
ih_shape
{
migraphx
::
shape
::
float_type
,
{
num_dirct
,
batch_size
,
hidden_size
}};
throws_shape
(
migraphx
::
op
::
lstm
{
hidden_size
,
throws_shape
(
migraphx
::
op
::
lstm
{
hidden_size
,
{
migraphx
::
op
::
tanh
{}},
{
migraphx
::
op
::
tanh
{}},
migraphx
::
op
::
rnn_direction
::
bidirectional
,
migraphx
::
op
::
rnn_direction
::
bidirectional
,
clip
},
clip
},
in_shape
,
in_shape
,
w_shape
,
w_shape
,
r_shape
,
r_shape
,
...
@@ -754,5 +754,4 @@ TEST_CASE(lstm)
...
@@ -754,5 +754,4 @@ TEST_CASE(lstm)
}
}
}
}
int
main
(
int
argc
,
const
char
*
argv
[])
{
test
::
run
(
argc
,
argv
);
}
int
main
(
int
argc
,
const
char
*
argv
[])
{
test
::
run
(
argc
,
argv
);
}
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