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
7cd3eb23
Commit
7cd3eb23
authored
Apr 18, 2019
by
Shucai Xiao
Browse files
clang format
parent
e9a25b8b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/quantize.cpp
src/quantize.cpp
+2
-2
No files found.
src/quantize.cpp
View file @
7cd3eb23
...
@@ -53,7 +53,7 @@ void quantize(program& prog, const std::vector<std::string>& ins_names)
...
@@ -53,7 +53,7 @@ void quantize(program& prog, const std::vector<std::string>& ins_names)
for
(
auto
ins
:
iterator_for
(
prog
))
for
(
auto
ins
:
iterator_for
(
prog
))
{
{
// all indicates every instruction is converted
// all indicates every instruction is converted
if
((
not
contains
(
ins_names
,
"all"
))
and
(
not
contains
(
ins_names
,
ins
->
name
())))
if
((
not
contains
(
ins_names
,
"all"
))
and
(
not
contains
(
ins_names
,
ins
->
name
())))
{
{
continue
;
continue
;
}
}
...
@@ -108,7 +108,7 @@ void quantize(program& prog, const std::vector<std::string>& ins_names)
...
@@ -108,7 +108,7 @@ void quantize(program& prog, const std::vector<std::string>& ins_names)
}
}
prog
.
replace_instruction
(
ins
,
op
,
converted_inputs
);
prog
.
replace_instruction
(
ins
,
op
,
converted_inputs
);
//instruction::replace(ins, op, compute_shape(op, converted_inputs), converted_inputs);
//
instruction::replace(ins, op, compute_shape(op, converted_inputs), converted_inputs);
}
}
}
}
}
}
...
...
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