Searched refs:ConvertIntNum (Results 1 – 4 of 4) sorted by relevance
/third_party/mindspore/mindspore/lite/tools/converter/config_parser/ |
D | preprocess_parser.cc | 59 if (!ConvertIntNum(data_pre_process_str.calibrate_size, &data_pre_process->calibrate_size)) { in ParsePreprocess() 230 if (!ConvertIntNum(data_pre_process_str.resize_width, &image_pre_process->resize_width)) { in ParseImageResize() 240 if (!ConvertIntNum(data_pre_process_str.resize_height, &image_pre_process->resize_height)) { in ParseImageResize() 262 …if (!ConvertIntNum(data_pre_process_str.center_crop_width, &image_pre_process->center_crop_width))… in ParseImageCenterCrop() 272 …if (!ConvertIntNum(data_pre_process_str.center_crop_height, &image_pre_process->center_crop_height… in ParseImageCenterCrop()
|
D | quant_param_parser.cc | 39 …if (!common_quant_string.bit_num.empty() && !ConvertIntNum(common_quant_string.bit_num, &common_qu… in ParseCommonQuant() 55 … !ConvertIntNum(common_quant_string.min_quant_weight_size, &common_quant->min_quant_weight_size)) { in ParseCommonQuant() 60 …!ConvertIntNum(common_quant_string.min_quant_weight_channel, &common_quant->min_quant_weight_chann… in ParseCommonQuant()
|
/third_party/mindspore/mindspore/lite/tools/common/ |
D | string_util.h | 36 bool ConvertIntNum(const std::string &str, int *value);
|
D | string_util.cc | 71 bool ConvertIntNum(const std::string &str, int *value) { in ConvertIntNum() function
|