/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/ |
D | arithmetic_self_int8.c | 33 if (output_tmp > para.output_activation_max_) { in Int8ElementFloor() 34 output[i] = para.output_activation_max_; in Int8ElementFloor() 52 if (output_tmp > para.output_activation_max_) { in Int8ElementRound() 53 output[i] = para.output_activation_max_; in Int8ElementRound() 71 if (output_tmp > para.output_activation_max_) { in Int8ElementCeil() 72 output[i] = para.output_activation_max_; in Int8ElementCeil() 90 if (output_tmp > para.output_activation_max_) { in Int8ElementAbs() 91 output[i] = para.output_activation_max_; in Int8ElementAbs() 109 if (output_tmp > para.output_activation_max_) { in Int8ElementSin() 110 output[i] = para.output_activation_max_; in Int8ElementSin() [all …]
|
D | quantize.h | 50 int8_t output_activation_max_; member 64 int output_activation_max_; member 73 int output_activation_max_; member 80 int output_activation_max_; member 96 int output_activation_max_; member 107 int output_activation_max_; member 133 int output_activation_max_; member
|
D | crop_int8.c | 66 if (output_tmp > para->quant_arg.output_activation_max_) { in Int8Crop1D() 67 out_ptr[i] = para->quant_arg.output_activation_max_; in Int8Crop1D() 108 if (output_tmp > para->quant_arg.output_activation_max_) { in Int8Crop2D() 109 out_ptr[i] = para->quant_arg.output_activation_max_; in Int8Crop2D() 162 if (output_tmp > para->quant_arg.output_activation_max_) { in Int8Crop3D() 163 out_ptr[i] = para->quant_arg.output_activation_max_; in Int8Crop3D() 223 if (output_tmp > para->quant_arg.output_activation_max_) { in Int8Crop4D() 224 out_ptr[i] = para->quant_arg.output_activation_max_; in Int8Crop4D()
|
D | scale_int8.c | 29 raw_sum = vminq_s32(raw_sum, vdupq_n_s32(scale_param->output_activation_max_)); in ClacSumHalfWordMul2() 49 raw_sum = vminq_s32(raw_sum, vdupq_n_s32(scale_param->output_activation_max_)); in ClacSumHalfWordMul3() 96 if (mul_result > scale_param->output_activation_max_) { in DoScaleInt8() 97 out_data[index] = scale_param->output_activation_max_; in DoScaleInt8() 155 if (mul_result > scale_param->output_activation_max_) { in DoScaleWithBiasInt8() 156 out_data[index] = scale_param->output_activation_max_; in DoScaleWithBiasInt8()
|
D | mul_int8.c | 37 int8x16_t out_max_vec = vdupq_n_s8(quant_arg->output_activation_max_); in MulInt8NEON() 39 int8x8_t out_max_vec_s8 = vdup_n_s8(quant_arg->output_activation_max_); in MulInt8NEON() 122 int8x16_t out_max_vec = vdupq_n_s8(quant_arg->output_activation_max_); in FastMul() 124 int8x8_t out_max_vec_s8 = vdup_n_s8(quant_arg->output_activation_max_); in FastMul() 208 …mul_result = mul_result < quant_arg->output_activation_max_ ? mul_result : quant_arg->output_activ… in FastMul() 233 …mul_result = mul_result < quant_arg->output_activation_max_ ? mul_result : quant_arg->output_activ… in Mul()
|
D | reshape_int8.c | 31 if (output_tmp > para.output_activation_max_) { in Int8Reshape() 32 output_ptr[i] = para.output_activation_max_; in Int8Reshape()
|
D | split_int8.c | 60 if (output_tmp > param->quant_arg_.output_activation_max_) { in Int8DoSplit() 61 dst[j] = param->quant_arg_.output_activation_max_; in Int8DoSplit()
|
D | sub_int8.c | 34 raw_data = vminq_s32(raw_data, vdupq_n_s32(para->output_activation_max_)); in DoClacSumHalfWord() 102 …ex] = (int8_t)MSMAX(para->output_activation_min_, MSMIN(raw_output, para->output_activation_max_)); in SubInt8()
|
D | div_int8.c | 39 …ex] = (int8_t)MSMAX(para->output_activation_min_, MSMIN(raw_output, para->output_activation_max_)); in DivInt8()
|
D | power_int8.c | 25 int act_max = param->quant_arg_.output_activation_max_; in PowerInt8()
|
D | concat_int8.c | 32 int8_t max_int8 = para->quant_arg_.output_activation_max_; in Int8Concat()
|
D | softmax_int8.c | 67 …MSMAX(quant_param->output_activation_min_, MSMIN(raw_output, quant_param->output_activation_max_)); in SoftmaxInt8()
|
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/cmsis-nn/int8/ |
D | dwconv_int8_coder.cc | 56 output_activation_max_, dilation_x_, dilation_y_, "NULL"); in DoCode() 68 … input_offset_, output_activation_min_, output_activation_max_, dilation_x_, dilation_y_, in DoCode() 79 … input_offset_, output_activation_min_, output_activation_max_, dilation_x_, dilation_y_, in DoCode() 134 &output_activation_max_); in SetParameters()
|
D | fullconnection_int8_coder.cc | 48 output_tensor_, output_activation_min_, output_activation_max_, "NULL"); in DoCode() 66 &output_activation_max_); in SetParameters()
|
D | fullconnection_int8_coder.h | 51 int32_t output_activation_max_{0};
|
D | dwconv_int8_coder.h | 68 int32_t output_activation_max_{0};
|
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/serializers/nnacl_serializer/ |
D | nnacl_int8_serializer.cc | 145 … softmax_quant_parameter.output_activation_max_, softmax_quant_parameter.output_multiplier_, in CodeStruct() 159 concat_parameter.quant_arg_.output_activation_max_); in CodeStruct() 199 … reshape_quant_arg.output_activation_min_, reshape_quant_arg.output_activation_max_); in CodeStruct() 216 sub_quant_arg.output_activation_min_, sub_quant_arg.output_activation_max_, in CodeStruct() 225 div_quant_arg.output_activation_min_, div_quant_arg.output_activation_max_, in CodeStruct()
|
D | nnacl_stream_utils.cc | 46 << arg.output_activation_max_ << "}"; in operator <<()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/ |
D | mul_parameter.h | 27 int output_activation_max_; member
|
D | reshape_parameter.h | 26 int output_activation_max_; member
|
D | power_parameter.h | 27 int output_activation_max_; member
|
D | scale.h | 43 int output_activation_max_; member
|
D | slice_parameter.h | 26 int output_activation_max_; member
|
D | split_parameter.h | 29 int output_activation_max_; member
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/ |
D | scale_int8.cc | 207 scale_param_->output_activation_max_ = INT8_MAX; in InitQuantArgs() 211 scale_param_->output_activation_max_ = 6; in InitQuantArgs() 215 scale_param_->output_activation_max_ = INT8_MAX; in InitQuantArgs()
|