Searched refs:real_count (Results 1 – 7 of 7) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/ |
D | pooling_fp16.c | 75 int real_count = 0; in AvgPoolingFp16() local 91 ++real_count; in AvgPoolingFp16() 94 if (real_count == 0) { in AvgPoolingFp16() 98 tmp_avg = MS_DIVQ_F16(tmp_avg, MS_MOVQ_F16((float16_t)real_count)); in AvgPoolingFp16() 101 dst_c_ptr[0] = MSMIN(MSMAX(tmp_avg0 / (float16_t)real_count, min), max); in AvgPoolingFp16() 102 dst_c_ptr[1] = MSMIN(MSMAX(tmp_avg1 / (float16_t)real_count, min), max); in AvgPoolingFp16() 103 dst_c_ptr[2] = MSMIN(MSMAX(tmp_avg2 / (float16_t)real_count, min), max); in AvgPoolingFp16() 104 dst_c_ptr[3] = MSMIN(MSMAX(tmp_avg3 / (float16_t)real_count, min), max); in AvgPoolingFp16() 105 dst_c_ptr[4] = MSMIN(MSMAX(tmp_avg4 / (float16_t)real_count, min), max); in AvgPoolingFp16() 106 dst_c_ptr[5] = MSMIN(MSMAX(tmp_avg5 / (float16_t)real_count, min), max); in AvgPoolingFp16() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | pooling_fp32.c | 71 int real_count = 0; in AvgPooling() local 76 ++real_count; in AvgPooling() 79 if (real_count == 0) { in AvgPooling() 82 tmp_avg = MS_DIV256_F32(tmp_avg, MS_MOV256_F32(real_count)); in AvgPooling() 93 int real_count = 0; in AvgPooling() local 98 ++real_count; in AvgPooling() 101 if (real_count == 0) { in AvgPooling() 104 tmp_avg = MS_DIVQ_F32(tmp_avg, MS_MOVQ_F32(real_count)); in AvgPooling() 114 int real_count = 0; in AvgPooling() local 119 ++real_count; in AvgPooling() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/ |
D | pooling_int8.c | 56 int real_count = 0; in AvgPoolingInt8() local 64 ++real_count; in AvgPoolingInt8() 68 if (real_count == 0) { in AvgPoolingInt8() 71 int16_t tmp_out = round((float)tmp_avg / (float)real_count); in AvgPoolingInt8() 116 int real_count = (kw_e - kw_s) * (kh_e - kh_s); in AvgPoolingOptInt8() local 117 if (real_count == 0) { in AvgPoolingOptInt8() 161 tmp_data[l] = tmp_avg[0][l] + 128 * real_count; in AvgPoolingOptInt8() 162 tmp_out[l] = (tmp_data[l] + real_count / 2) / real_count; in AvgPoolingOptInt8() 167 tmp_data1[l] = tmp_avg[1][l] + 128 * real_count; in AvgPoolingOptInt8() 168 tmp_out1[l] = (tmp_data1[l] + real_count / 2) / real_count; in AvgPoolingOptInt8() [all …]
|
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/soft_dvpp/utils/ |
D | yuv_scaler_para_set.cc | 60 int32_t cnt = yuv_scaler_paraset->real_count; // Number of saved arrays. in GetParaSet() 109 ++(yuv_scaler_paraset->real_count); in GetParaSet() 157 yuv_scaler_paraset[i].real_count = 0; in ParseFileToVar() 253 int32_t count = parameterset->real_count; in GetScalerParameterIndex()
|
D | yuv_scaler_para_set.h | 48 int32_t real_count; member
|
/third_party/mindspore/mindspore/lite/micro/coder/wrapper/int8/ |
D | add_int8_wrapper.c | 50 int real_count = MSMIN(stride, rest_count); in AddInt8Run() local 51 if (real_count <= 0) { in AddInt8Run()
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/ |
D | add_int8.cc | 210 int real_count = MSMIN(stride, rest_count); in DoExecute() local 211 if (real_count <= 0) { in DoExecute()
|