Searched refs:ori_bias (Results 1 – 10 of 10) sorted by relevance
/third_party/mindspore/mindspore/lite/micro/coder/wrapper/int8/ |
D | conv_init_int8_wrapper.c | 22 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()
|
D | conv_init_int8_wrapper.h | 22 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/ |
D | adder_fp32.cc | 101 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/ |
D | convolution_depthwise_int8.cc | 90 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()
|
D | convolution_depthwise_3x3_int8.cc | 102 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()
|
D | convolution_int8.cc | 102 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()
|
D | deconvolution_depthwise_int8.cc | 67 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()
|
D | deconvolution_int8.cc | 155 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()
|
D | convolution_depthwise_slidewindow_int8.cc | 64 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/ |
D | convolution_depthwise_fp32_coder.cc | 52 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()
|