Home
last modified time | relevance | path

Searched refs:input1 (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Darithmetic_fp16.h33 int ElementOptMulFp16(const float16_t *input0, const float16_t *input1, float16_t *output, int elem…
35 int ElementOptMulReluFp16(const float16_t *input0, const float16_t *input1, float16_t *output, int …
37 int ElementOptMulRelu6Fp16(const float16_t *input0, const float16_t *input1, float16_t *output, int…
39 int ElementOptAddFp16(const float16_t *input0, const float16_t *input1, float16_t *output, int elem…
41 int ElementOptAddReluFp16(const float16_t *input0, const float16_t *input1, float16_t *output, int …
43 int ElementOptAddRelu6Fp16(const float16_t *input0, const float16_t *input1, float16_t *output, int…
45 int ElementOptSubFp16(const float16_t *input0, const float16_t *input1, float16_t *output, int elem…
47 int ElementOptSubReluFp16(const float16_t *input0, const float16_t *input1, float16_t *output, int …
49 int ElementOptSubRelu6Fp16(const float16_t *input0, const float16_t *input1, float16_t *output, int…
51 int ElementOptDivFp16(const float16_t *input0, const float16_t *input1, float16_t *output, int elem…
[all …]
Darithmetic_fp16.c55 int ElementMulFp16(const float16_t *input0, const float16_t *input1, float16_t *output, int element… in ElementMulFp16() argument
60 float16x8_t vin1 = vld1q_f16(input1 + index); in ElementMulFp16()
66 output[index] = input0[index] * input1[index]; in ElementMulFp16()
71 int ElementOptMulFp16(const float16_t *input0, const float16_t *input1, float16_t *output, int elem… in ElementOptMulFp16() argument
75 float16x8_t vin1_opt = vdupq_n_f16(input1[0]); in ElementOptMulFp16()
81 float16x8_t vin1 = vld1q_f16(input1 + index); in ElementOptMulFp16()
87 output[index] = input0[0] * input1[index]; in ElementOptMulFp16()
98 output[index] = input0[index] * input1[0]; in ElementOptMulFp16()
104 int ElementMulReluFp16(const float16_t *input0, const float16_t *input1, float16_t *output, int ele… in ElementMulReluFp16() argument
112 float16x8_t vin1 = vld1q_f16(input1 + index); in ElementMulReluFp16()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/
Darithmetic_compare_fp32.c22 int ElementEqualFp32(const float *input0, const float *input1, uint8_t *output, int element_size) { in ElementEqualFp32() argument
24 output[i] = input0[i] == input1[i]; in ElementEqualFp32()
29 int ElementEqualInt32(const int32_t *input0, const int32_t *input1, uint8_t *output, int element_si… in ElementEqualInt32() argument
31 output[i] = input0[i] == input1[i]; in ElementEqualInt32()
37 int ElementNotEqualFp32(const float *input0, const float *input1, uint8_t *output, int element_size… in ElementNotEqualFp32() argument
39 output[i] = input0[i] != input1[i]; in ElementNotEqualFp32()
44 int ElementNotEqualInt32(const int32_t *input0, const int32_t *input1, uint8_t *output, int element… in ElementNotEqualInt32() argument
46 output[i] = input0[i] != input1[i]; in ElementNotEqualInt32()
52 int ElementLessFp32(const float *input0, const float *input1, uint8_t *output, int element_size) { in ElementLessFp32() argument
54 output[i] = input0[i] < input1[i]; in ElementLessFp32()
[all …]
Darithmetic_compare_fp32.h29 int ElementEqualFp32(const float *input0, const float *input1, uint8_t *output, int element_size);
30 int ElementEqualInt32(const int32_t *input0, const int32_t *input1, uint8_t *output, int element_si…
32 int ElementNotEqualFp32(const float *input0, const float *input1, uint8_t *output, int element_size…
33 int ElementNotEqualInt32(const int32_t *input0, const int32_t *input1, uint8_t *output, int element…
35 int ElementLessFp32(const float *input0, const float *input1, uint8_t *output, int element_size);
36 int ElementLessInt32(const int32_t *input0, const int32_t *input1, uint8_t *output, int element_siz…
38 int ElementLessEqualFp32(const float *input0, const float *input1, uint8_t *output, int element_siz…
39 int ElementLessEqualInt32(const int32_t *input0, const int32_t *input1, uint8_t *output, int elemen…
41 int ElementGreaterFp32(const float *input0, const float *input1, uint8_t *output, int element_size);
42 int ElementGreaterInt32(const int32_t *input0, const int32_t *input1, uint8_t *output, int element_…
[all …]
/third_party/boost/libs/sort/test/
Dstring_sort_test.cpp67 string input1 = "ab"; in offset_comparison_test() local
72 BOOST_CHECK(less_than(input1, input2)); in offset_comparison_test()
73 BOOST_CHECK(less_than(input1, input3)); in offset_comparison_test()
74 BOOST_CHECK(!less_than(input2, input1)); in offset_comparison_test()
75 BOOST_CHECK(!less_than(input1, input1)); in offset_comparison_test()
76 BOOST_CHECK(!greater_than(input1, input2)); in offset_comparison_test()
77 BOOST_CHECK(!greater_than(input1, input3)); in offset_comparison_test()
78 BOOST_CHECK(greater_than(input2, input1)); in offset_comparison_test()
79 BOOST_CHECK(!greater_than(input1, input1)); in offset_comparison_test()
84 BOOST_CHECK(!offset_less(input1, input2)); in offset_comparison_test()
[all …]
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dqtmux.c1399 check_output (const gchar * location, struct TestInputData *input1, in check_output() argument
1404 struct TestInputData *inputs[2] = { input1, input2 }; in check_output()
1434 run_muxing_test (struct TestInputData *input1, struct TestInputData *input2) in run_muxing_test() argument
1452 input1->srcpad = setup_src_pad (qtmux, &srcvideorawtemplate, "video_%u"); in run_muxing_test()
1453 fail_unless (input1->srcpad != NULL); in run_muxing_test()
1454 gst_pad_set_active (input1->srcpad, TRUE); in run_muxing_test()
1467 input1->thread = in run_muxing_test()
1468 g_thread_new ("test-push-data-1", test_input_push_data, input1); in run_muxing_test()
1472 g_thread_join (input1->thread); in run_muxing_test()
1474 input1->thread = NULL; in run_muxing_test()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Darithmetic_cpu_kernel.cc38 void ElementRealDiv(const T *input1, const T *input2, T *out, size_t size, size_t delta_1, size_t d… in ElementRealDiv() argument
43 auto dividend = input1[idx_1]; in ElementRealDiv()
65 void ArithmeticCPUKernel<T>::AssignAdd(T *input1, const T *input2, T *out) const { in AssignAdd() argument
66 auto task = [&input1, &input2, &out](size_t start, size_t end) { in AssignAdd()
68 out[i] = input1[i] + input2[i]; in AssignAdd()
69 input1[i] = out[i]; in AssignAdd()
76 void ArithmeticCPUKernel<T>::Add(const T *input1, const T *input2, T *out) const { in Add() argument
78 auto task = [&input1, &input2, &out, &base_iter](size_t start, size_t end) { in Add()
82 out[i] = input1[iter.GetInputPosA()] + input2[iter.GetInputPosB()]; in Add()
90 void ArithmeticCPUKernel<T>::Sub(const T *input1, const T *input2, T *out) { in Sub() argument
[all …]
Deltwise_grad_cpu_kernel.cc29 void EltWiseGradCPUKernel<T>::ReluGrad(const T *input1, const T *input2, T *out, size_t start, size… in ReluGrad() argument
34 int ret = ::ReluGrad(input1 + start, input2 + start, end - start, out + start); in ReluGrad()
41 void EltWiseGradCPUKernel<T>::ReLU6Grad(const T *input1, const T *input2, T *out, size_t start, siz… in ReLU6Grad() argument
46 int ret = ::Relu6Grad(input1 + start, input2 + start, end - start, out + start); in ReLU6Grad()
53 void EltWiseGradCPUKernel<T>::AbsGrad(const T *input1, const T *input2, T *out, size_t start, size_… in AbsGrad() argument
58 int ret = ::ElementAbsGrad(input1 + start, input2 + start, out + start, end - start); in AbsGrad()
65 void EltWiseGradCPUKernel<T>::SigmoidGrad(const T *input1, const T *input2, T *out, size_t start, s… in SigmoidGrad() argument
70 int ret = ::SigmoidGrad(input2 + start, input1 + start, end - start, out + start); in SigmoidGrad()
77 void EltWiseGradCPUKernel<T>::SqrtGrad(const T *input1, const T *input2, T *out, size_t start, size… in SqrtGrad() argument
79 out[i] = input2[i] / (input1[i] * 2); in SqrtGrad()
[all …]
Deltwise_grad_cpu_kernel.h41 void ReluGrad(const T *input1, const T *input2, T *out, size_t start, size_t end) const;
42 void ReLU6Grad(const T *input1, const T *input2, T *out, size_t start, size_t end) const;
43 void AbsGrad(const T *input1, const T *input2, T *out, size_t start, size_t end) const;
44 void SigmoidGrad(const T *input1, const T *input2, T *out, size_t start, size_t end) const;
45 void SqrtGrad(const T *input1, const T *input2, T *out, size_t start, size_t end) const;
46 void TanhGrad(const T *input1, const T *input2, T *out, size_t start, size_t end) const;
47 void GeluGrad(const T *input1, const T *input2, T *out, size_t start, size_t end) const;
48 void AsinGrad(const T *input1, const T *input2, T *out, size_t start, size_t end) const;
49 void ACosGrad(const T *input1, const T *input2, T *out, size_t start, size_t end) const;
50 void AtanGrad(const T *input1, const T *input2, T *out, size_t start, size_t end) const;
[all …]
Darithmetic_logic_cpu_kernel.cc35 void ArithmeticLogicCPUKernel<T>::Less(const T *input1, const T *input2, bool *out) const { in Less() argument
42 auto x = input1[iter.GetInputPosA()]; in Less()
52 auto x = input1[base_iter.GetInputPosA()]; in Less()
61 void ArithmeticLogicCPUKernel<T>::Equal(const T *input1, const T *input2, bool *out) const { in Equal() argument
67 auto x = input1[iter.GetInputPosA()]; in Equal()
77 void ArithmeticLogicCPUKernel<T>::NotEqual(const T *input1, const T *input2, bool *out) const { in NotEqual() argument
83 auto x = input1[iter.GetInputPosA()]; in NotEqual()
93 void ArithmeticLogicCPUKernel<T>::LogicalAnd(const T *input1, const T *input2, bool *out) const { in LogicalAnd() argument
99 out[i] = input1[iter.GetInputPosA()] && input2[iter.GetInputPosB()]; in LogicalAnd()
107 void ArithmeticLogicCPUKernel<T>::LogicalOr(const T *input1, const T *input2, bool *out) const { in LogicalOr() argument
[all …]
/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/pre_activate/
Dsoftmax_grad_ext_fusion.py43 def before(input0, input1, input2): argument
44 mul = Mul(input1, input0)
48 mul1 = Mul(input2, input1)
53 def after(input0, input1, input2): argument
54 res = SoftmaxGradExt(input0, input1, input2)
64 def before(input0, input1, input2): argument
65 mul = Mul(input1, input0)
68 mul1 = Mul(input1, sub)
73 def after(input0, input1, input2): argument
74 res = SoftmaxGradExt(input0, input1, input2)
[all …]
Dconcat_fission_test.py37 def before(input0, input1, input2, input3, input4, input5, input6, input7, input8): argument
38 return concat((input0, input1, input2, input3, input4, input5, input6, input7, input8))
41 def after_divided_by_2(input0, input1, input2, input3, input4, input5, input6, input7, input8): argument
42 a = concat((input0, input1))
52 def after_divided_by_3(input0, input1, input2, input3, input4, input5, input6, input7, input8): argument
53 a = concat((input0, input1, input2))
59 def after_divided_by_4(input0, input1, input2, input3, input4, input5, input6, input7, input8): argument
60 a = concat((input0, input1, input2, input3))
65 def after_divided_by_8(input0, input1, input2, input3, input4, input5, input6, input7, input8): argument
66 a = concat((input0, input1, input2, input3, input4, input5, input6, input7))
[all …]
Daddn_fission_test.py39 def before(input0, input1, input2, input3, input4, input5, input6, input7, input8): argument
40 return addn((input0, input1, input2, input3, input4, input5, input6, input7, input8))
43 def after_divided_by_2(input0, input1, input2, input3, input4, input5, input6, input7, input8): argument
44 a = addn((input0, input1))
54 def after_divided_by_3(input0, input1, input2, input3, input4, input5, input6, input7, input8): argument
55 a = addn((input0, input1, input2))
61 def after_divided_by_4(input0, input1, input2, input3, input4, input5, input6, input7, input8): argument
62 a = addn((input0, input1, input2, input3))
67 def after_divided_by_8(input0, input1, input2, input3, input4, input5, input6, input7, input8): argument
68 a = addn((input0, input1, input2, input3, input4, input5, input6, input7))
[all …]
Dadam_apply_one_fusion_test.py49 def before(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, add2_y): argument
53 mul2 = Mul(mul2_x, input1)
67 … def before_cond1(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, add2_y): argument
71 mul2 = Mul(mul2_x, input1)
85 … def before_cond2(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, add2_y): argument
89 mul2 = Mul(mul2_x, input1)
103 … def before_cond3(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, add2_y): argument
107 mul2 = Mul(mul2_x, input1)
121 … def before_cond4(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, add2_y): argument
125 mul2 = Mul(mul2_x, input1)
[all …]
Dunsorted_segment_sum_fission.py43 def before1(input0, input1): argument
44 x = unsorted_segment_sum(input0, input1, num_segments)
48 def after1(input0, input1): argument
50 x = op_unsorted_segment_sum(x, input1)
55 def before2(input0, input1): argument
56 x = unsorted_segment_sum(input0, input1, num_segments)
60 def after2(input0, input1): argument
61 x = op_unsorted_segment_sum(input0, input1)
Dadam_apply_one_with_decay_rule.py49 …def before_cond1(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, mul4_x, a… argument
54 mul2 = mul(mul2_x, input1)
67 …def before_cond2(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, mul4_x, a… argument
72 mul2 = mul(input1, mul2_x)
85 …def before_cond3(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, mul4_x, a… argument
90 mul2 = mul(mul2_x, input1)
103 …def before_cond4(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, mul4_x, a… argument
108 mul2 = mul(mul2_x, input1)
121 …def before_cond5(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, mul4_x, a… argument
126 mul2 = mul(mul2_x, input1)
[all …]
Dlayer_norm_beta_gamma_backprop_fusion_test.py40 def before(input0, input1, input2, input3): argument
41 layer = LayerNormBetaGammaBackprop(input0, input1, input2, input3)
48 def before_unmatched_inputs_size(input0, input1, input2): argument
49 layer = LayerNormBetaGammaBackprop(input0, input1, input2)
56 def before_unmatched_outputs_size(input0, input1, input2, input3): argument
57 layer = LayerNormBetaGammaBackprop(input0, input1, input2, input3)
62 def after(input0, input1, input2, input3): argument
63 layer = LayerNormBetaGammaBackprop(input0, input1, input2, input3)
/third_party/glslang/Test/baseResults/
Dhlsl.max.frag.out7 0:2 'input1' ( in 4-component vector of float)
12 0:3 'input1' ( in 4-component vector of float)
18 0:? 'input1' ( temp 4-component vector of float)
19 0:? 'input1' (layout( location=0) in 4-component vector of float)
26 0:? 'input1' ( temp 4-component vector of float)
30 0:? 'input1' (layout( location=0) in 4-component vector of float)
42 0:2 'input1' ( in 4-component vector of float)
47 0:3 'input1' ( in 4-component vector of float)
53 0:? 'input1' ( temp 4-component vector of float)
54 0:? 'input1' (layout( location=0) in 4-component vector of float)
[all …]
/third_party/cmsis/CMSIS/DSP/Source/FilteringFunctions/
Darm_conv_partial_q7.c82 q31_t input1, input2; /* Temporary input variables */ in arm_conv_partial_q7() local
186 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16); in arm_conv_partial_q7()
195 sum = __SMLAD(input1, input2, sum); in arm_conv_partial_q7()
200 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16); in arm_conv_partial_q7()
209 sum = __SMLAD(input1, input2, sum); in arm_conv_partial_q7()
322 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16); in arm_conv_partial_q7()
331 acc0 = __SMLAD(input1, input2, acc0); in arm_conv_partial_q7()
337 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16); in arm_conv_partial_q7()
340 acc1 = __SMLAD(input1, input2, acc1); in arm_conv_partial_q7()
346 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16); in arm_conv_partial_q7()
[all …]
Darm_conv_q7.c241 q31_t input1, input2; /* Temporary input variables */ in arm_conv_q7() local
327 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16U); in arm_conv_q7()
336 sum = __SMLAD(input1, input2, sum); in arm_conv_q7()
341 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16U); in arm_conv_q7()
350 sum = __SMLAD(input1, input2, sum); in arm_conv_q7()
455 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16U); in arm_conv_q7()
464 acc0 = __SMLAD(input1, input2, acc0); in arm_conv_q7()
470 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16U); in arm_conv_q7()
473 acc1 = __SMLAD(input1, input2, acc1); in arm_conv_q7()
479 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16U); in arm_conv_q7()
[all …]
Darm_correlate_q7.c286 q31_t input1, input2; /* Temporary input variables */ in arm_correlate_q7() local
400 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16); in arm_correlate_q7()
409 sum = __SMLAD(input1, input2, sum); in arm_correlate_q7()
414 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16); in arm_correlate_q7()
423 sum = __SMLAD(input1, input2, sum); in arm_correlate_q7()
530 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16U); in arm_correlate_q7()
539 acc0 = __SMLAD(input1, input2, acc0); in arm_correlate_q7()
545 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16U); in arm_correlate_q7()
548 acc1 = __SMLAD(input1, input2, acc1); in arm_correlate_q7()
554 input1 = ((q31_t) in1 & 0x0000FFFF) | ((q31_t) in2 << 16U); in arm_correlate_q7()
[all …]
/third_party/mindspore/mindspore/lite/micro/coder/wrapper/fp32/
Darithmetic_fp32_wrapper.h40 typedef int (*ArithmeticRun)(const float *input0, const float *input1, float *output, const int ele…
41 typedef int (*ArithmeticOptRun)(const float *input0, const float *input1, float *output, const int …
43 typedef int (*ArithmeticIntRun)(const int *input0, const int *input1, int *output, const int elemen…
44 typedef int (*ArithmeticOptIntRun)(const int *input0, const int *input1, int *output, const int ele…
46 typedef int (*ArithmeticBoolRun)(const bool *input0, const bool *input1, bool *output, const int el…
48 void ArithmeticExecute(const void *input0, const void *input1, void *output, int size, bool is_opt,
55 void BatchScalarCalc(const void *input0, const void *input1, void *output, int batch_size, int size…
59 void BroadcastRun(const void *input0, const void *input1, void *output, int dim, int out_count, int…
Darithmetic_fp32_wrapper.c22 void ArithmeticExecute(const void *input0, const void *input1, void *output, int size, bool is_opt, in ArithmeticExecute() argument
28 …arithmetic_opt_run((const float *)(input0), (const float *)(input1), (float *)(output), size, para… in ArithmeticExecute()
31 arithmetic_run((const float *)(input0), (const float *)(input1), (float *)(output), size); in ArithmeticExecute()
35 arithmetic_run_bool((const bool *)(input0), (const bool *)(input1), (bool *)(output), size); in ArithmeticExecute()
39 …arithmetic_opt_run_int((const int *)(input0), (const int *)(input1), (int *)(output), size, param); in ArithmeticExecute()
42 arithmetic_run_int((const int *)(input0), (const int *)(input1), (int *)(output), size); in ArithmeticExecute()
47 void BatchScalarCalc(const void *input0, const void *input1, void *output, int batch_size, int size… in BatchScalarCalc() argument
57 ArithmeticExecute((const uint8_t *)(input0) + offset0, (const uint8_t *)(input1) + offset1, in BatchScalarCalc()
66 void BroadcastRun(const void *input0, const void *input1, void *output, int dim, int out_count, int… in BroadcastRun() argument
71 ArithmeticExecute((const uint8_t *)(input0) + offset, (const uint8_t *)(input1) + offset, in BroadcastRun()
[all …]
/third_party/mindspore/tests/st/ops/custom_ops_tbe/
Dadd3_impl.py24 def add3_compute(input1, input2, const_bias): argument
25 sum2 = te.lang.cce.vadd(input1, input2)
26 sum3 = te.lang.cce.vadds(sum2, tvm.const(const_bias, dtype=input1.dtype))
47 def CusAdd3Impl(input1, inptu2, sum1, const_bias, kernel_name="CusAdd3Impl"): argument
48 shape = input1.get("shape")
50 dtype = input1.get("dtype").lower()
51 input1 = tvm.placeholder(shape, name="input1", dtype=dtype.lower())
55 res = add3_compute(input1, input2, const_bias)
60 "tensor_list": [input1, input2, res]}
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dequalcount_impl.cu20 __global__ void EqualCount(const int size, const T* input1, const T* input2, T* output) { in EqualCount() argument
24 if (input1[i] == input2[i]) { in EqualCount()
33 void CalEqualCount(const int size, const T* input1, const T* input2, T* output, cudaStream_t cuda_s… in CalEqualCount() argument
34 EqualCount<<<1, 1, 0, cuda_stream>>>(size, input1, input2, output); in CalEqualCount()
38 template void CalEqualCount<int>(const int size, const int* input1, const int* input2, int* output,
40 template void CalEqualCount<float>(const int size, const float* input1, const float* input2, float*…
42 template void CalEqualCount<half>(const int size, const half* input1, const half* input2, half* out…

12345678910>>...12