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
e11ce251
Commit
e11ce251
authored
Aug 09, 2018
by
Paul
Browse files
Remove prints
parent
735e102a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
src/include/migraph/instruction.hpp
src/include/migraph/instruction.hpp
+0
-2
No files found.
src/include/migraph/instruction.hpp
View file @
e11ce251
...
@@ -39,7 +39,6 @@ struct instruction
...
@@ -39,7 +39,6 @@ struct instruction
for
(
auto
&&
ins
:
output
)
for
(
auto
&&
ins
:
output
)
{
{
assert
(
ins
->
op
.
name
().
front
()
!=
'@'
);
assert
(
ins
->
op
.
name
().
front
()
!=
'@'
);
std
::
cout
<<
ins
->
op
.
name
()
<<
std
::
endl
;
ins
->
replace
(
compute_shape
(
ins
->
op
,
ins
->
arguments
));
ins
->
replace
(
compute_shape
(
ins
->
op
,
ins
->
arguments
));
}
}
}
}
...
@@ -124,7 +123,6 @@ inline void backreference(instruction_ref ref)
...
@@ -124,7 +123,6 @@ inline void backreference(instruction_ref ref)
// TODO: Use const ref for vector
// TODO: Use const ref for vector
inline
shape
compute_shape
(
operation
op
,
std
::
vector
<
instruction_ref
>
args
)
inline
shape
compute_shape
(
operation
op
,
std
::
vector
<
instruction_ref
>
args
)
{
{
std
::
cout
<<
"compute_shape: "
<<
op
.
name
()
<<
std
::
endl
;
std
::
vector
<
shape
>
shapes
(
args
.
size
());
std
::
vector
<
shape
>
shapes
(
args
.
size
());
std
::
transform
(
std
::
transform
(
args
.
begin
(),
args
.
end
(),
shapes
.
begin
(),
[](
instruction_ref
i
)
{
return
i
->
result
;
});
args
.
begin
(),
args
.
end
(),
shapes
.
begin
(),
[](
instruction_ref
i
)
{
return
i
->
result
;
});
...
...
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