Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/lite/micro/coder/wrapper/base/
Doptimize_handler_wrapper.c20 const int *input_sum, const int *bias);
32 const int *input_sum, const int *bias) { in MatMulR4Int8_optimize_handler() argument
33 return MatMulOptR4Int8Neon64(a, b, dst, row4, col4, deep16, input_sum, bias); in MatMulR4Int8_optimize_handler()
37 size_t stride, const int32_t *input_sum, const int32_t *bias, in MatMulRInt8_optimize_handler() argument
40 …DpNeon64(a, b, dst, UP_ROUND(row, C8NUM), UP_ROUND(col, C8NUM), deep_4, input_sum, bias, mini, max… in MatMulRInt8_optimize_handler()
44 size_t stride, const int32_t *input_sum, const int32_t *bias, in MatMulDpInt8_optimize_handler() argument
48 …return MatmulInt8DpOpt(a, b, dst, row, col, deep_4, input_sum, bias, mini, maxi, output_zp, multip… in MatMulDpInt8_optimize_handler()
Doptimize_handler_wrapper.h25 … const int32_t *input_sum, size_t act_min, size_t act_max, size_t out_zp,
29 const int *input_sum, const int *bias);
32 size_t stride, const int32_t *input_sum, const int32_t *bias,
36 size_t stride, const int32_t *input_sum, const int32_t *bias,
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
Dopt_op_handler.cc28 const int *input_sum, const int *bias) { in MatMulR4Int8_optimize_handler() argument
29 return MatMulOptR4Int8Neon64(a, b, dst, row4, col4, deep16, input_sum, bias); in MatMulR4Int8_optimize_handler()
33 size_t stride, const int32_t *input_sum, const int32_t *bias, in MatMulRInt8_optimize_handler() argument
36 …DpNeon64(a, b, dst, UP_ROUND(row, C8NUM), UP_ROUND(col, C8NUM), deep_4, input_sum, bias, mini, max… in MatMulRInt8_optimize_handler()
40 size_t stride, const int32_t *input_sum, const int32_t *bias, in MatMulDpInt8_optimize_handler() argument
44 …return MatmulInt8DpOpt(a, b, dst, row, col, deep_4, input_sum, bias, mini, maxi, output_zp, multip… in MatMulDpInt8_optimize_handler()
Dopt_op_handler.h26 const int *input_sum, const int *bias);
36 … const int32_t *input_sum, size_t act_min, size_t act_max, size_t out_zp,
40 const int *input_sum, const int *bias);
43 size_t stride, const int32_t *input_sum, const int32_t *bias,
47 size_t stride, const int32_t *input_sum, const int32_t *bias,
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dmatmul_int8.h30 const int *input_sum, const int *bias);
45 … size_t stride, const int32_t *input_sum, const int32_t *bias, const int32_t *left_shift,
54 … size_t stride, const int32_t *input_sum, const int32_t *bias, const int32_t *left_shift,
61 void PackInput4x4AndInputSumPert(const int8_t *src_input, int8_t *packed_input, int32_t *input_sum,
64 … size_t stride, const int32_t *input_sum, const int32_t *bias, const int32_t *left_shift,
74 const int *input_sum, const int *bias);
Dconv1x1_int8.c19 …Opt(const int8_t *packed_input, const int8_t *packed_weight, int8_t *dst, const int32_t *input_sum, in Conv1x1Int8Opt() argument
24 …nc(packed_input, packed_weight, dst, row, col, deep4, conv_param->output_channel_, input_sum, bias, in Conv1x1Int8Opt()
31 …nt8(const int8_t *packed_input, const int8_t *packed_weight, int8_t *dst, const int32_t *input_sum, in Conv1x1Int8() argument
35 MatmulInt8Opt(packed_input, packed_weight, dst, row, col, deep16, input_sum, bias, in Conv1x1Int8()
Dmatmul_int8.c176 const int *input_sum, const int *bias) { in MatMulInt8_16x4() argument
190 value -= input_sum[r]; in MatMulInt8_16x4()
199 … size_t stride, const int32_t *input_sum, const int32_t *bias, const int32_t *left_shift, in MatMulInt8_4x2_r() argument
217 peroc ? input_sum[c2div * UP_ROUND(row, C4NUM) * C2NUM + r * C2NUM + c2mod] : input_sum[r]; in MatMulInt8_4x2_r()
272 … size_t stride, const int32_t *input_sum, const int32_t *bias, const int32_t *left_shift, in MatMulInt8_8x8_r() argument
289 … per_channel ? input_sum[c8div * UP_ROUND(row, C8NUM) * C8NUM + r * C8NUM + c8mod] : input_sum[r]; in MatMulInt8_8x8_r()
305 … size_t stride, const int32_t *input_sum, const int32_t *bias, const int32_t *left_shift, in MatMulInt8_4x16_r() argument
321 int32_t cur_input_sum = per_channel ? input_sum[r] * filter_zp[c] : input_sum[r]; in MatMulInt8_4x16_r()
435 void PackInput4x4AndInputSumPert(const int8_t *src_input, int8_t *packed_input, int32_t *input_sum, in PackInput4x4AndInputSumPert() argument
448 int32_t *input_sum_r = input_sum + hwi; in PackInput4x4AndInputSumPert()
[all …]
Dpack_int8.c20 void PackInputSum16x4PerChannelArm32(const int8_t *input_value, int32_t *input_sum, const int32_t *… in PackInputSum16x4PerChannelArm32() argument
29 …PreSum4x16Int8Peroc(input_value, input_sum, filter_zp_ptr, hw4, ic16, oc_div2, oc_res2, inputsun_s… in PackInputSum16x4PerChannelArm32()
43 input_sum[dst_index] = tmp_sum_value * filter_zp; in PackInputSum16x4PerChannelArm32()
51 void PackInputSum16x4PerChannel(const int8_t *input_value, int32_t *input_sum, const int32_t *filte… in PackInputSum16x4PerChannel() argument
59 …PreSum4x16Int8Peroc(input_value, input_sum, filter_zp_ptr, hw4, ic16, oc_div4, oc_res4, inputsun_s… in PackInputSum16x4PerChannel()
74 input_sum[dst_index] = tmp_sum_value * filter_zp; in PackInputSum16x4PerChannel()
81 void Conv1x1PreOptPeroc(const int8_t *src_input, int8_t *packed_input, int32_t *input_sum, size_t i… in Conv1x1PreOptPeroc() argument
93 int32_t *input_sum_r = input_sum; in Conv1x1PreOptPeroc()
502 input_sum[oc8div * inputsum_stride + hwi * C8NUM + oc8res] = 0; in Conv1x1PreOptPeroc()
509 void Conv1x1PreOptPert(const int8_t *src_input, int8_t *packed_input, int32_t *input_sum, size_t in… in Conv1x1PreOptPert() argument
[all …]
Dconv1x1_int8.h34 …nt8(const int8_t *packed_input, const int8_t *packed_weight, int8_t *dst, const int32_t *input_sum,
37 …Opt(const int8_t *packed_input, const int8_t *packed_weight, int8_t *dst, const int32_t *input_sum,
Dpack_int8.h39 void PackInputSum16x4Int8(const int8_t *input, int32_t *input_sum, const int32_t *filter_zp,
45 int block_index, const int32_t *filter_zp, int32_t *input_sum,
Ddeconv_int8.c135 const int32_t *input_sum, size_t act_row, size_t act_col, size_t act_deep, in DeConvInt8() argument
138 matmul_func(input, weight, output, act_row, act_col, act_deep, input_sum, weight_sum); in DeConvInt8()
140 MatMulInt8_16x4(input, weight, output, act_row, act_col, act_deep, input_sum, weight_sum); in DeConvInt8()
Dconv_int8.c20 …const int32_t *bias_data, int8_t *output_data, int32_t *filter_zp, int32_t *input_sum, int task_id, in ConvInt8() argument
59 int32_t *tmp_input_sum = input_sum + task_id * input_sum_offset; in ConvInt8()
Dconv_int8.h37 …const int32_t *bias_data, int8_t *output_data, int32_t *filter_zp, int32_t *input_sum, int task_id,
Ddeconv_int8.h38 const int32_t *input_sum, size_t act_row, size_t act_col, size_t act_deep,
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/arm/int8/
Ddeconv_int8_tests.cc148 int32_t input_sum[12] = {0}; in TEST_F() local
150 DeConvPackInputSum(packed_a, input_sum, filter_zp, 12, 16, true); in TEST_F()
151 ASSERT_EQ(0, CompareOutputData(input_sum, correct_input_sum, 12, 0)); in TEST_F()
243 int32_t input_sum[12] = {0}; in TEST_F() local
245 DeConvPackInputSum(packed_a, input_sum, filter_zp, 12, 16, true); in TEST_F()
246 ASSERT_EQ(0, CompareOutputData(input_sum, correct_input_sum, 12, 0)); in TEST_F()
334 MatMulInt8_16x4(packed_a, packed_b, tmp_output, 12, 24, 16, input_sum, weight_sum); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/
Dmatmul_parameter.h23 const int *input_sum, const int *bias);
26 size_t stride, const int32_t *input_sum, const int32_t *bias,
31 size_t stride, const int32_t *input_sum, const int32_t *bias,
/third_party/nghttp2/src/
Ddeflatehd.cc60 static size_t input_sum; variable
125 input_sum += inputlen; in deflate_hd()
438 auto comp_ratio = input_sum == 0 ? 0.0 : (double)output_sum / input_sum; in main()
440 fprintf(stderr, "Overall: input=%zu output=%zu ratio=%.02f\n", input_sum, in main()