Searched refs:input_val (Results 1 – 7 of 7) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/ |
D | power_int8.c | 29 float input_val = input_scale * (input[i] - input_zp); in PowerInt8() local 30 float output_val = pow(param->scale_ * input_val + param->shift_, param->power_); in PowerInt8() 38 float input_val = input_scale * (input[i] - input_zp); in PowerInt8() local 40 float output_val = pow(param->scale_ * input_val + param->shift_, exp_val); in PowerInt8()
|
D | relux_int8.c | 24 const int32_t input_val = src[i] - arg->input_arg.zp_; in ReluXInt8() local 25 … const int32_t scaled_input = SaturatingRoundingDoublingHighMul(input_val, arg->input_multiplier_); in ReluXInt8()
|
D | arithmetic_self_int8.c | 224 int16x8_t input_val = LoadAndAddOffset(input_data, *index, para.in_args_.zp_); in SquareInt8NEON() local 225 int32x4_t input_low = vmovl_s16(vget_low_s16(input_val)); in SquareInt8NEON() 226 int32x4_t input_high = vmovl_s16(vget_high_s16(input_val)); in SquareInt8NEON() 248 const int32_t input_val = input[index] + in_zp; in Int8ElementSquare() local 250 …SaturatingRoundingDoublingHighMul(input_val * input_val * (1 << para.shift_left_), para.output_mul… in Int8ElementSquare()
|
D | softmax_int8.c | 48 const int32_t input_val = input_ptr[axis_offset] - max_row; in SoftmaxInt8() local 50 … input_val * (1 << (unsigned int)quant_param->shift_left_), quant_param->output_multiplier_); in SoftmaxInt8()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | cumsum_fp32.c | 65 MS_FLOAT32X4 input_val = MS_LDQ_F32(layer_input + k); in Cumsum() local 67 MS_FLOAT32X4 out_val = MS_ADDQ_F32(input_val, last_output_val); in Cumsum() 125 MS_FLOAT32X4 input_val = MS_LDQ_F32(layer_input - k - 3); in CumsumReverse() local 127 MS_FLOAT32X4 out_val = MS_ADDQ_F32(input_val, last_output_val); in CumsumReverse() 186 MS_INT32X4 input_val = MS_LDQ_EPI32(layer_input + k); in CumsumInt() local 188 MS_INT32X4 out_val = MS_ADDQ_EPI32(input_val, last_output_val); in CumsumInt() 231 MS_INT32X4 input_val = MS_LDQ_EPI32(layer_input - k - 3); in CumsumReverseInt() local 233 MS_INT32X4 out_val = MS_ADDQ_EPI32(input_val, last_output_val); in CumsumReverseInt()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_coreimage.m | 361 NSString *input_val = [NSString stringWithUTF8String:value]; 377 [input_val UTF8String], 383 float input = input_val.floatValue; 408 CIVector *input = [CIVector vectorWithString:input_val]; 412 [input_val UTF8String]); 418 CIColor *input = [CIColor colorWithString:input_val]; 422 [input_val UTF8String]); 428 [filter setValue:input_val forKey:input_key]; 430 …NSData *input = [NSData dataWithBytes:(const void*)[input_val cStringUsingEncoding:NSISOLatin1Stri… 431 … length:[input_val lengthOfBytesUsingEncoding:NSISOLatin1StringEncoding]]; [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/ |
D | sync_batch_norm_impl.cu | 57 float input_val = HalfFloatInputConvert(input[index]); in SyncBatchNormPre() local 58 float d1 = input_val - avg; in SyncBatchNormPre() 61 var_n = var_n + (d1 * (input_val - avg)); in SyncBatchNormPre() 156 float input_val = HalfFloatInputConvert(input[pos]); in SyncBatchNormPost() local 157 …HalfFloatOutputAssign(scale_plane * (input_val - mean_plane) * invstd_plane + bias_plane, output, … in SyncBatchNormPost()
|