Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dpooling_int8.c73 int8_t real_out = tmp_out < out_min ? out_min : tmp_out; in AvgPoolingInt8() local
74 real_out = real_out > out_max ? out_max : real_out; in AvgPoolingInt8()
75 *(output_ptr + out_channel_offset) = real_out; in AvgPoolingInt8()
129 int16_t real_out[16]; in AvgPoolingOptInt8()
172 int8x8_t real_out[2]; in AvgPoolingOptInt8() local
175 real_out[0] = vqmovn_s16(vld1q_s16(tmp_out)); in AvgPoolingOptInt8()
176 real_out[0] = vmin_s8(real_out[0], output_max); in AvgPoolingOptInt8()
177 real_out[0] = vmax_s8(real_out[0], output_min); in AvgPoolingOptInt8()
178 vst1_s8(output_ptr + out_channel_offset, real_out[0]); in AvgPoolingOptInt8()
179 real_out[1] = vqmovn_s16(vld1q_s16(tmp_out1)); in AvgPoolingOptInt8()
[all …]
Darg_min_max_int8.c64 float real_out = out_value ? value : index; in DoArgMinMaxQuant() local
65 output[output_offset + j] = real_out * output_inverse_scale + output_zp; in DoArgMinMaxQuant()
88 int8_t GetInt8Output(float real_out, float output_inverse_scale, int32_t output_zp) { in GetInt8Output() argument
89 return real_out * output_inverse_scale + output_zp; in GetInt8Output()
112 …float real_out = out_value ? param->arg_elements_[j].data_.f_data_ : param->arg_elements_[j].index… in Int8ArgMinMaxDim0() local
113 output[out_offset] = GetInt8Output(real_out, output_inverse_scale, output_zp); in Int8ArgMinMaxDim0()
142 …float real_out = out_value ? param->arg_elements_[k].data_.f_data_ : param->arg_elements_[k].index… in Int8ArgMinMaxDim1() local
143 output[out_offset] = GetInt8Output(real_out, output_inverse_scale, output_zp); in Int8ArgMinMaxDim1()
176 …float real_out = out_value ? param->arg_elements_[l].data_.f_data_ : param->arg_elements_[l].index… in Int8ArgMinMaxDim2() local
177 output[out_offset] = GetInt8Output(real_out, output_inverse_scale, output_zp); in Int8ArgMinMaxDim2()
[all …]
/third_party/python/Lib/unittest/test/
Dtest_result.py551 real_out = self._real_out
557 self.assertIs(real_out, sys.stdout)
562 self.assertIs(real_out, sys.stdout)
566 real_out = self._real_out
574 self.assertIs(real_out, sys.stdout)
579 self.assertIsNot(real_out, sys.stdout)