Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/lite/micro/coder/wrapper/int8/
Dconv_init_int8_wrapper.c22 int ConvInit(int8_t *origin_weight, const int32_t *ori_bias, const int32_t *filter_quant_zps, int k… in ConvInit() argument
68 if (ori_bias != NULL) { in ConvInit()
69 memcpy(bias_data_, ori_bias, (unsigned int)output_channel * sizeof(int32_t)); in ConvInit()
Dconv_init_int8_wrapper.h22 int ConvInit(int8_t *origin_weight, const int32_t *ori_bias, const int32_t *filter_quant_zps, int k…
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/
Dadder_fp32.cc101 auto ori_bias = reinterpret_cast<float *>(in_tensors_.at(kBiasIndex)->MutableData()); in InitWeightBias() local
102 CHECK_NULL_RETURN(ori_bias); in InitWeightBias()
103 memcpy(bias_data_, ori_bias, out_channel * sizeof(float)); in InitWeightBias()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
Dconvolution_depthwise_int8.cc90 auto ori_bias = reinterpret_cast<int32_t *>(bias_tensor->MutableData()); in InitWeightBias() local
91 CHECK_NULL_RETURN(ori_bias); in InitWeightBias()
92 memcpy(bias_data_, ori_bias, bias_tensor->ElementsNum() * sizeof(int32_t)); in InitWeightBias()
Dconvolution_depthwise_3x3_int8.cc102 auto ori_bias = reinterpret_cast<int32_t *>(bias_tensor->MutableData()); in InitWeightBias() local
103 CHECK_NULL_RETURN(ori_bias); in InitWeightBias()
104 memcpy(bias_data_, ori_bias, static_cast<size_t>(bias_tensor->ElementsNum()) * sizeof(int32_t)); in InitWeightBias()
Dconvolution_int8.cc102 auto ori_bias = reinterpret_cast<int32_t *>(in_tensors_.at(kBiasIndex)->data()); in InitWeightBias() local
103 CHECK_NULL_RETURN(ori_bias); in InitWeightBias()
104 memcpy(bias_data_, ori_bias, static_cast<size_t>(output_channel) * sizeof(int32_t)); in InitWeightBias()
Ddeconvolution_depthwise_int8.cc67 auto ori_bias = reinterpret_cast<int32_t *>(bias_tensor->data()); in InitWeightBias() local
68 CHECK_NULL_RETURN(ori_bias); in InitWeightBias()
69 memcpy(bias_data_, ori_bias, bias_tensor->ElementsNum() * sizeof(int32_t)); in InitWeightBias()
Ddeconvolution_int8.cc155 auto ori_bias = bias_tensor->data(); in InitBiasWeight() local
156 CHECK_NULL_RETURN(ori_bias); in InitBiasWeight()
157 memcpy(bias_data_, ori_bias, conv_param_->output_channel_ * sizeof(int32_t)); in InitBiasWeight()
Dconvolution_depthwise_slidewindow_int8.cc64 auto ori_bias = reinterpret_cast<int32_t *>(bias_tensor->MutableData()); in InitWeightBias() local
65 memcpy(bias_data_, ori_bias, static_cast<size_t>(bias_tensor->ElementsNum()) * sizeof(int32_t)); in InitWeightBias()
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/nnacl/fp32/
Dconvolution_depthwise_fp32_coder.cc52 auto *ori_bias = reinterpret_cast<float *>(bias_tensor_->data()); in InitWeightBias() local
54 …MS_CHECK_RET_CODE(memcpy_s(bias_, bias_size, ori_bias, bias_tensor_->Size()), "memcpy_s bias faile… in InitWeightBias()