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
9613bac2
Commit
9613bac2
authored
Aug 02, 2018
by
Paul
Browse files
Formatting
parent
26c0e6d2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
test/auto_contiguous_test.cpp
test/auto_contiguous_test.cpp
+3
-5
No files found.
test/auto_contiguous_test.cpp
View file @
9613bac2
...
@@ -18,10 +18,7 @@ migraph::literal get_2x2()
...
@@ -18,10 +18,7 @@ migraph::literal get_2x2()
return
migraph
::
literal
{{
migraph
::
shape
::
float_type
,
{
2
,
2
}},
{
1
,
2
,
3
,
4
}};
return
migraph
::
literal
{{
migraph
::
shape
::
float_type
,
{
2
,
2
}},
{
1
,
2
,
3
,
4
}};
}
}
migraph
::
literal
get_2
()
migraph
::
literal
get_2
()
{
return
migraph
::
literal
{{
migraph
::
shape
::
float_type
,
{
2
}},
{
1
,
2
}};
}
{
return
migraph
::
literal
{{
migraph
::
shape
::
float_type
,
{
2
}},
{
1
,
2
}};
}
void
after_literal_transpose
()
void
after_literal_transpose
()
{
{
...
@@ -54,7 +51,8 @@ void after_literal_broadcast()
...
@@ -54,7 +51,8 @@ void after_literal_broadcast()
EXPECT
(
not
p
.
get_shape
().
broadcasted
());
EXPECT
(
not
p
.
get_shape
().
broadcasted
());
}
}
int
main
()
{
int
main
()
{
after_literal_transpose
();
after_literal_transpose
();
after_literal_broadcast
();
after_literal_broadcast
();
}
}
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