thread_num set default value

This commit is contained in:
xutianchun 2020-08-26 14:25:14 +08:00
parent a12ad45c2e
commit 6188e3069e
1 changed files with 1 additions and 2 deletions

View File

@ -44,11 +44,10 @@ const char kMethodKL[] = "KL";
constexpr int kDefaultBinNumber = 2048;
struct ConfigParam {
// ImageFormat imageFormat;
std::string image_path;
uint32_t batch_count{100};
std::string method_x{kMethodKL};
uint32_t thread_num;
uint32_t thread_num{1};
};
class PostTrainingQuantizer : public Quantizer {