Home
last modified time | relevance | path

Searched refs:mul2 (Results 1 – 25 of 52) sorted by relevance

123

/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/pre_activate/
Dadam_apply_one_fusion_test.py53 mul2 = Mul(mul2_x, input1)
56 add1 = Add(mul2, mul3)
71 mul2 = Mul(mul2_x, input1)
74 add1 = Add(mul2, mul3)
89 mul2 = Mul(mul2_x, input1)
92 add1 = Add(mul2, mul3)
107 mul2 = Mul(mul2_x, input1)
110 add1 = Add(mul2, mul3)
125 mul2 = Mul(mul2_x, input1)
128 add1 = Add(mul2, mul3)
[all …]
Dadam_apply_one_with_decay_rule.py54 mul2 = mul(mul2_x, input1)
56 add1 = add(mul2, mul3)
72 mul2 = mul(input1, mul2_x)
74 add1 = add(mul2, mul3)
90 mul2 = mul(mul2_x, input1)
92 add1 = add(mul2, mul3)
108 mul2 = mul(mul2_x, input1)
110 add1 = add(mul2, mul3)
126 mul2 = mul(mul2_x, input1)
128 add1 = add(mul2, mul3)
[all …]
Dlamb_next_mv_rule_test.py47 mul2 = Mul(constant_mul2_x, input1)
49 add1 = Add(mul2, mul3)
82 mul2 = Mul(constant_mul2_x, input1)
84 add1 = Add(mul2, mul3)
106 mul2 = Mul(constant_mul2_x, input1)
108 add1 = Add(mul2, mul3)
130 mul2 = Mul(constant_mul2_x, input1)
132 add1 = Add(mul2, mul3)
154 mul2 = Mul(constant_mul2_x, input1)
156 add1 = Add(mul2, mul3)
[all …]
Dlamb_next_mv_with_decay_rule_test.py47 mul2 = Mul(constant_mul2_x, input1)
49 add1 = Add(mul2, mul3)
84 mul2 = Mul(constant_mul2_x, input1)
86 add1 = Add(mul2, mul3)
109 mul2 = Mul(constant_mul2_x, input1)
111 add1 = Add(mul2, mul3)
134 mul2 = Mul(constant_mul2_x, input1)
136 add1 = Add(mul2, mul3)
159 mul2 = Mul(constant_mul2_x, input1)
161 add1 = Add(mul2, mul3)
[all …]
Dlamb_next_mv_with_decay_v1_rule.py47 mul2 = mul(mul2_x, input1)
48 add1 = add(mul2, mul3)
82 mul2 = mul(mul2_x, input1)
83 add1 = add(mul2, mul3)
106 mul2 = mul(mul2_x, input1)
107 add1 = add(mul2, mul3)
130 mul2 = mul(mul2_x, input1)
131 add1 = add(mul2, mul3)
Dlamb_next_right_rule_test.py45 mul2 = Mul(mul2_x, input1)
47 add1 = Add(mul2, mul3)
58 mul2 = Mul(mul2_x, input1)
60 add1 = Add(mul2, mul3)
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dadam_apply_one_with_decay_rule.cc54 VectorRef mul2({prim::kPrimMul, mul2_x_, input1_}); in DefinePattern() local
56 VectorRef add1({add1_var_, mul2, mul3}); in DefinePattern()
74 VectorRef mul2({prim::kPrimMul, input1_, mul2_x_}); in DefinePattern() local
76 VectorRef add1({add1_var_, mul2, mul3}); in DefinePattern()
94 VectorRef mul2({prim::kPrimMul, mul2_x_, input1_}); in DefinePattern() local
96 VectorRef add1({add1_var_, mul2, mul3}); in DefinePattern()
114 VectorRef mul2({prim::kPrimMul, mul2_x_, input1_}); in DefinePattern() local
116 VectorRef add1({add1_var_, mul2, mul3}); in DefinePattern()
134 VectorRef mul2({prim::kPrimMul, mul2_x_, input1_}); in DefinePattern() local
136 VectorRef add1({add1_var_, mul2, mul3}); in DefinePattern()
[all …]
Dadam_apply_one_fusion.cc25 VectorRef mul2 = VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex2], input_vars_[kIndex1]}); in DefinePattern() local
28 VectorRef sqrt0 = VectorRef({prim_sqrt, VectorRef({add1_var_, mul2, mul3})}); in DefinePattern()
40 VectorRef mul2 = VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex2], input_vars_[kIndex1]}); in DefinePattern() local
43 VectorRef sqrt0 = VectorRef({prim_sqrt, VectorRef({add1_var_, mul2, mul3})}); in DefinePattern()
55 VectorRef mul2 = VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex2], input_vars_[kIndex1]}); in DefinePattern() local
58 VectorRef sqrt0 = VectorRef({prim_sqrt, VectorRef({add1_var_, mul2, mul3})}); in DefinePattern()
70 VectorRef mul2 = VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex2], input_vars_[kIndex1]}); in DefinePattern() local
73 VectorRef sqrt0 = VectorRef({prim_sqrt, VectorRef({add1_var_, mul2, mul3})}); in DefinePattern()
85 VectorRef mul2 = VectorRef({prim::kPrimMul, mul_x_input_vars_[kIndex2], input_vars_[kIndex1]}); in DefinePattern() local
88 VectorRef sqrt0 = VectorRef({prim_sqrt, VectorRef({add1_var_, mul2, mul3})}); in DefinePattern()
[all …]
Dlamb_next_mv_rule.cc124 auto mul2 = VectorRef({prim::kPrimMul, mul2_x_, input1_}); in DefinePattern() local
128 auto add1 = VectorRef({add1_var_, mul2, mul3}); in DefinePattern()
160 auto mul2 = VectorRef({prim::kPrimMul, input1_, mul2_x_}); in DefinePattern() local
164 auto add1 = VectorRef({add1_var_, mul2, mul3}); in DefinePattern()
196 auto mul2 = VectorRef({prim::kPrimMul, input1_, mul2_x_}); in DefinePattern() local
200 auto add1 = VectorRef({add1_var_, mul2, mul3}); in DefinePattern()
232 auto mul2 = VectorRef({prim::kPrimMul, mul2_x_, input1_}); in DefinePattern() local
236 auto add1 = VectorRef({add1_var_, mul2, mul3}); in DefinePattern()
Dlamb_next_mv_with_decay_rule.cc138 …VectorRef mul2 = VectorRef({prim::kPrimMul, input_vars_[kIndex1], constant_mul_input_vars_[kIndex2… in DefinePattern() local
140 VectorRef add1 = VectorRef({add1_var_, mul2, mul3}); in DefinePattern()
179 …VectorRef mul2 = VectorRef({prim::kPrimMul, constant_mul_input_vars_[kIndex2], input_vars_[kIndex1… in DefinePattern() local
181 VectorRef add1 = VectorRef({add1_var_, mul2, mul3}); in DefinePattern()
220 …VectorRef mul2 = VectorRef({prim::kPrimMul, input_vars_[kIndex1], constant_mul_input_vars_[kIndex2… in DefinePattern() local
222 VectorRef add1 = VectorRef({add1_var_, mul2, mul3}); in DefinePattern()
262 …VectorRef mul2 = VectorRef({prim::kPrimMul, constant_mul_input_vars_[kIndex2], input_vars_[kIndex1… in DefinePattern() local
264 VectorRef add1 = VectorRef({add1_var_, mul2, mul3}); in DefinePattern()
/third_party/cmsis/CMSIS/DSP/Source/ComplexMathFunctions/
Darm_cmplx_mult_real_q15.c123 … q31_t mul1, mul2, mul3, mul4; /* Temporary variables to hold intermediate data */ in arm_cmplx_mult_real_q15() local
144 mul2 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1)); in arm_cmplx_mult_real_q15()
148 mul2 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15()
156 out2 = (q15_t) __SSAT(mul2 >> 15U, 16); in arm_cmplx_mult_real_q15()
170 mul2 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1)); in arm_cmplx_mult_real_q15()
174 mul2 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15()
181 out2 = (q15_t) __SSAT(mul2 >> 15U, 16); in arm_cmplx_mult_real_q15()
/third_party/mindspore/tests/ut/python/parallel/
Dtest_parameter_multi_users.py28 self.mul2 = P.Mul().shard(strategy2)
33 out = self.mul2(out, self.mul_weight)
41 self.mul2 = P.Mul().shard(strategy2)
46 out = self.mul2(x, out)
54 self.mul2 = P.MatMul().shard(strategy2)
59 out = self.mul2(out, self.mul_weight)
Dtest_auto_parallel_reduce_method.py63 self.mul2 = P.Mul()
68 out = self.mul2(out, b)
87 self.mul2 = P.Mul()
92 out = self.mul2(out, b)
111 self.mul2 = P.Mul()
116 out = self.mul2(out, b)
Dtest_reduce_method_info.py89 self.mul2 = P.Mul().shard(strategy3)
94 out = self.mul2(out, b)
116 self.mul2 = P.Mul().shard(strategy3)
121 out = self.mul2(out, b)
143 self.mul2 = P.Mul().shard(strategy3)
148 out = self.mul2(out, b)
170 self.mul2 = P.Mul().shard(strategy3)
175 out = self.mul2(out, b)
266 self.mul2 = P.Mul().shard(strategy3)
271 out = self.mul2(out, b)
[all …]
Dtest_auto_parallel_star_partial_strategy.py51 self.mul2 = P.Mul()
63 self.mul2.shard(strategy_dict["mul2"])
72 y = self.mul2(y, self.weight)
Dtest_tile.py33 self.mul2 = P.Mul()
39 out = self.mul2(out, self.weight2)
64 self.mul2 = P.Mul()
Dtest_auto_parallel_l2normalize.py58 self.mul2 = P.Mul()
64 out = self.mul2(out, b)
Dtest_square.py29 self.mul2 = P.Mul().shard(strategy1)
35 out = self.mul2(out, b)
Dtest_l2normalize.py58 self.mul2 = P.Mul().shard(strategy3)
64 out = self.mul2(out, b)
Dtest_auto_parallel_triangle_overwrite.py50 self.mul2 = P.Mul()
59 mul_out = self.mul2(out, self.weight)
Dtest_batch_parallel.py89 self.mul2 = P.Mul().shard(strategy3)
95 out4 = self.mul2(out3, w2)
Dtest_expand_dims.py29 self.mul2 = P.Mul().shard(strategy3)
35 out = self.mul2(out, b)
/third_party/cmsis/CMSIS/DSP/Source/BasicMathFunctions/
Darm_mult_q15.c114 q31_t mul1, mul2, mul3, mul4; /* Temporary variables */ in arm_mult_q15() local
136 mul2 = (q31_t) ((q15_t) (inA1 ) * (q15_t) (inB1 )); in arm_mult_q15()
142 out2 = (q15_t) __SSAT(mul2 >> 15, 16); in arm_mult_q15()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/simd/
Dgeometric.h110 glm_vec4 const mul2 = _mm_mul_ps(sub0, sub1); in glm_vec4_refract() local
112 if(_mm_movemask_ps(_mm_cmplt_ss(mul2, _mm_set1_ps(0.0f))) == 0) in glm_vec4_refract()
115 glm_vec4 const sqt0 = _mm_sqrt_ps(mul2); in glm_vec4_refract()
/third_party/mindspore/tests/st/auto_parallel/
Doptimizer_parallel.py193 self.mul2 = P.Mul()
208 self.mul2.shard(strategy_dict['mul2'])
219 mul2 = self.mul2(dense, self.mul2_weight)
220 out = self.mul3(mul2, self.mul3_weight)

123