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
453fa37a
"library/vscode:/vscode.git/clone" did not exist on "a781d078e53c60a10f8db5e04e8a22b69c68056d"
Commit
453fa37a
authored
Nov 14, 2018
by
Khalique
Browse files
formatting
parent
db6038e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
test/cpu_ops_test.cpp
test/cpu_ops_test.cpp
+1
-1
No files found.
test/cpu_ops_test.cpp
View file @
453fa37a
...
@@ -1094,7 +1094,7 @@ TEST_CASE(contiguous_test)
...
@@ -1094,7 +1094,7 @@ TEST_CASE(contiguous_test)
TEST_CASE
(
identity_test
)
TEST_CASE
(
identity_test
)
{
{
migraph
::
program
p
;
migraph
::
program
p
;
migraph
::
shape
s
{
migraph
::
shape
::
float_type
,
{
2
,
2
}};
migraph
::
shape
s
{
migraph
::
shape
::
float_type
,
{
2
,
2
}};
std
::
vector
<
int
>
data
{
1
,
2
,
3
,
4
};
std
::
vector
<
int
>
data
{
1
,
2
,
3
,
4
};
auto
l
=
p
.
add_literal
(
migraph
::
literal
{
s
,
data
});
auto
l
=
p
.
add_literal
(
migraph
::
literal
{
s
,
data
});
p
.
add_instruction
(
migraph
::
op
::
identity
{},
l
);
p
.
add_instruction
(
migraph
::
op
::
identity
{},
l
);
...
...
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