"packaging/git@developer.sourcefind.cn:hehl2/torchaudio.git" did not exist on "d98c8847f9950c6268a94e2e2a6027ca6456cf6d"
Commit 0bd9c447 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 28c7a058
...@@ -384,8 +384,7 @@ void capture_arguments(program& prog, ...@@ -384,8 +384,7 @@ void capture_arguments(program& prog,
void capture_arguments(program& prog, const std::vector<std::string>& ins_names) void capture_arguments(program& prog, const std::vector<std::string>& ins_names)
{ {
auto calc_quant_params = [&](std::size_t ins_index, std::vector<migraphx::argument> args) auto calc_quant_params = [&](std::size_t ins_index, std::vector<migraphx::argument> args) {
{
std::pair<float, float> param_pair{1.0f, 0.0f}; std::pair<float, float> param_pair{1.0f, 0.0f};
// scale and shift is need for only int8 type, and we do not // scale and shift is need for only int8 type, and we do not
...@@ -400,7 +399,6 @@ void capture_arguments(program& prog, const std::vector<std::string>& ins_names) ...@@ -400,7 +399,6 @@ void capture_arguments(program& prog, const std::vector<std::string>& ins_names)
prog.int8_quant_params[ins_index] = param_pair; prog.int8_quant_params[ins_index] = param_pair;
}; };
capture_arguments(prog, ins_names, calc_quant_params); capture_arguments(prog, ins_names, calc_quant_params);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment