Home
last modified time | relevance | path

Searched refs:output_activation_max_ (Results 1 – 25 of 43) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Darithmetic_self_int8.c33 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 …]
Dquantize.h50 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
Dcrop_int8.c66 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()
Dscale_int8.c29 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()
Dmul_int8.c37 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()
Dreshape_int8.c31 if (output_tmp > para.output_activation_max_) { in Int8Reshape()
32 output_ptr[i] = para.output_activation_max_; in Int8Reshape()
Dsplit_int8.c60 if (output_tmp > param->quant_arg_.output_activation_max_) { in Int8DoSplit()
61 dst[j] = param->quant_arg_.output_activation_max_; in Int8DoSplit()
Dsub_int8.c34 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()
Ddiv_int8.c39 …ex] = (int8_t)MSMAX(para->output_activation_min_, MSMIN(raw_output, para->output_activation_max_)); in DivInt8()
Dpower_int8.c25 int act_max = param->quant_arg_.output_activation_max_; in PowerInt8()
Dconcat_int8.c32 int8_t max_int8 = para->quant_arg_.output_activation_max_; in Int8Concat()
Dsoftmax_int8.c67 …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/
Ddwconv_int8_coder.cc56 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()
Dfullconnection_int8_coder.cc48 output_tensor_, output_activation_min_, output_activation_max_, "NULL"); in DoCode()
66 &output_activation_max_); in SetParameters()
Dfullconnection_int8_coder.h51 int32_t output_activation_max_{0};
Ddwconv_int8_coder.h68 int32_t output_activation_max_{0};
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/serializers/nnacl_serializer/
Dnnacl_int8_serializer.cc145 … 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()
Dnnacl_stream_utils.cc46 << arg.output_activation_max_ << "}"; in operator <<()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/
Dmul_parameter.h27 int output_activation_max_; member
Dreshape_parameter.h26 int output_activation_max_; member
Dpower_parameter.h27 int output_activation_max_; member
Dscale.h43 int output_activation_max_; member
Dslice_parameter.h26 int output_activation_max_; member
Dsplit_parameter.h29 int output_activation_max_; member
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
Dscale_int8.cc207 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()

12