Home
last modified time | relevance | path

Searched refs:ConvertIntNum (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/lite/tools/converter/config_parser/
Dpreprocess_parser.cc59 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()
Dquant_param_parser.cc39 …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/
Dstring_util.h36 bool ConvertIntNum(const std::string &str, int *value);
Dstring_util.cc71 bool ConvertIntNum(const std::string &str, int *value) { in ConvertIntNum() function