Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/lite/src/cxx_api/tensor/
Dtensor_impl.h214 auto lite_quant_params = lite_tensor_->quant_params(); in QuantParams() local
216 for (size_t i = 0; i < lite_quant_params.size(); i++) { in QuantParams()
218 param.bit_num = lite_quant_params[i].bitNum; in QuantParams()
219 param.scale = lite_quant_params[i].scale; in QuantParams()
220 param.zero_point = lite_quant_params[i].zeroPoint; in QuantParams()
231 std::vector<lite::LiteQuantParam> lite_quant_params; in SetQuantParams() local
237 lite_quant_params.push_back(lite_param); in SetQuantParams()
239 lite_tensor_->set_quant_params(lite_quant_params); in SetQuantParams()