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
77cc9a7d
Commit
77cc9a7d
authored
Apr 18, 2019
by
Shucai Xiao
Browse files
code cleanup
parent
7cd3eb23
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
src/CMakeLists.txt
src/CMakeLists.txt
+1
-1
src/include/migraphx/quantization.hpp
src/include/migraphx/quantization.hpp
+2
-2
src/py/migraphx_py.cpp
src/py/migraphx_py.cpp
+1
-1
src/quantization.cpp
src/quantization.cpp
+2
-2
No files found.
src/CMakeLists.txt
View file @
77cc9a7d
...
@@ -18,7 +18,7 @@ add_library(migraphx
...
@@ -18,7 +18,7 @@ add_library(migraphx
generate.cpp
generate.cpp
instruction.cpp
instruction.cpp
program.cpp
program.cpp
quantiz
e
.cpp
quantiz
ation
.cpp
shape.cpp
shape.cpp
schedule.cpp
schedule.cpp
pass_manager.cpp
pass_manager.cpp
...
...
src/include/migraphx/quantiz
e
.hpp
→
src/include/migraphx/quantiz
ation
.hpp
View file @
77cc9a7d
#ifndef MIGRAPHX_GUARD_RTGLIB_QUANTIZ
E
_HPP
#ifndef MIGRAPHX_GUARD_RTGLIB_QUANTIZ
ATION
_HPP
#define MIGRAPHX_GUARD_RTGLIB_QUANTIZ
E
_HPP
#define MIGRAPHX_GUARD_RTGLIB_QUANTIZ
ATION
_HPP
#include <string>
#include <string>
#include <vector>
#include <vector>
...
...
src/py/migraphx_py.cpp
View file @
77cc9a7d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
#include <pybind11/pybind11.h>
#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include <pybind11/stl.h>
#include <migraphx/program.hpp>
#include <migraphx/program.hpp>
#include <migraphx/quantiz
e
.hpp>
#include <migraphx/quantiz
ation
.hpp>
#include <migraphx/generate.hpp>
#include <migraphx/generate.hpp>
#include <migraphx/cpu/target.hpp>
#include <migraphx/cpu/target.hpp>
#include <migraphx/stringutils.hpp>
#include <migraphx/stringutils.hpp>
...
...
src/quantiz
e
.cpp
→
src/quantiz
ation
.cpp
View file @
77cc9a7d
#include <migraphx/quantiz
e
.hpp>
#include <migraphx/quantiz
ation
.hpp>
#include <migraphx/program.hpp>
#include <migraphx/program.hpp>
#include <migraphx/instruction.hpp>
#include <migraphx/instruction.hpp>
#include <migraphx/iterator_for.hpp>
#include <migraphx/iterator_for.hpp>
...
@@ -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