Commit 7f6f4acb authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent d9c55df0
......@@ -182,8 +182,10 @@ PYBIND11_MODULE(migraphx, m)
});
m.def("generate_argument", &migraphx::generate_argument, py::arg("s"), py::arg("seed") = 0);
m.def("quantize", [](migraphx::program& p, std::vector<std::string>& ins_names) {migraphx::quantize(p, ins_names); });
m.def("quantize", [](migraphx::program& p) {migraphx::quantize(p, {"all"}); });
m.def("quantize", [](migraphx::program& p, std::vector<std::string>& ins_names) {
migraphx::quantize(p, ins_names);
});
m.def("quantize", [](migraphx::program& p) { migraphx::quantize(p, {"all"}); });
#ifdef HAVE_GPU
m.def("allocate_gpu", &migraphx::gpu::allocate_gpu, py::arg("s"), py::arg("host") = false);
......
......@@ -101,10 +101,7 @@ void quantize(program& prog, const std::vector<std::string>& ins_names)
}
}
void quantize(program& prog)
{
quantize(prog, {"all"});
}
void quantize(program& prog) { quantize(prog, {"all"}); }
} // namespace MIGRAPHX_INLINE_NS
} // namespace migraphx
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