Home
last modified time | relevance | path

Searched refs:mul4 (Results 1 – 19 of 19) sorted by relevance

/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/pre_activate/
Dlamb_next_mv_with_decay_rule_test.py56 mul4 = Mul(constant_mul4_x, input6)
59 add5 = Add(real_div4, mul4)
60 add3 = Add(real_div2, mul4)
93 mul4 = Mul(constant_mul4_x, input6)
96 add5 = Add(real_div4, mul4)
97 add3 = Mul(real_div2, mul4)
118 mul4 = Add(constant_mul4_x, input6)
121 add5 = Add(real_div4, mul4)
122 add3 = Add(real_div2, mul4)
143 mul4 = Mul(constant_mul4_x, input6)
[all …]
Dlamb_next_mv_with_decay_v1_rule.py60 mul4 = mul(mul4_x, input6)
61 add3 = add(real_div2, mul4)
62 add5 = add(real_div4, mul4)
95 mul4 = mul(mul4_x, input6)
96 add3 = add(real_div2, mul4)
98 add5 = mul(real_div4, mul4)
120 mul4 = mul(mul4_x, input6)
121 add3 = add(real_div2, mul4)
122 add5 = add(real_div4, mul4)
145 mul4 = mul(mul4_x, input6)
[all …]
Dadam_apply_one_fusion_test.py60 mul4 = Mul(input4, true_div0)
61 sub0 = Sub(input3, mul4)
78 mul4 = Mul(input4, true_div0)
79 sub0 = Sub(input3, mul4)
96 mul4 = Mul(true_div0, input4)
97 sub0 = Sub(input3, mul4)
114 mul4 = Mul(true_div0, input4)
115 sub0 = Sub(input3, mul4)
132 mul4 = Mul(true_div0, input4)
133 sub0 = Sub(input3, mul4)
[all …]
Dadam_apply_one_with_decay_rule.py59 mul4 = mul(mul4_x, input3)
61 add3 = add(mul4, real_div0)
77 mul4 = mul(input3, mul4_x)
79 add3 = add(mul4, real_div0)
95 mul4 = mul(mul4_x, input3)
97 add3 = add(mul4, real_div0)
113 mul4 = mul(mul4_x, input3)
115 add3 = add(mul4, real_div0)
131 mul4 = mul(mul4_x, input3)
133 add3 = add(mul4, real_div0)
[all …]
Dlamb_next_mv_rule_test.py58 mul4 = Mul(constant_mul4_x, input6)
59 add3 = Add(real_div2, mul4)
93 mul4 = Mul(constant_mul4_x, input6)
94 add3 = Add(real_div2, mul4)
117 mul4 = Mul(constant_mul4_x, input6)
118 add3 = Add(real_div2, mul4)
141 mul4 = Mul(constant_mul4_x, input6)
142 add3 = Add(real_div2, mul4)
165 mul4 = Mul(constant_mul4_x, input6)
166 add3 = Add(real_div2, mul4)
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dlamb_next_mv_with_decay_rule.cc93 AnfNodePtr mul4 = GetAnfNodeByVar(equiv, mul4_var_); in Process() local
94 MS_EXCEPTION_IF_NULL(mul4); in Process()
98 if (manager->node_users().find(mul4) == manager->node_users().end()) { in Process()
102 AnfNodeIndexSet mul4_outputs = manager->node_users()[mul4]; in Process()
124 VectorRef mul4 = VectorRef({mul4_var_, Zs}); in DefineAnotherPattern() local
129 VectorRef add3 = VectorRef({prim::kPrimAdd, mul4, real_div2}); in DefineAnotherPattern()
149 VectorRef mul4 = VectorRef({mul4_var_, constant_mul_input_vars_[kIndex4], input_vars_[kIndex6]}); in DefinePattern() local
150 VectorRef add5 = VectorRef({prim::kPrimAdd, mul4, real_div4}); in DefinePattern()
165 VectorRef mul4 = VectorRef({mul4_var_, Zs}); in DefineAnotherPattern() local
170 VectorRef add3 = VectorRef({prim::kPrimAdd, mul4, real_div2}); in DefineAnotherPattern()
[all …]
Dadam_apply_one_with_decay_rule.cc59 VectorRef mul4({prim::kPrimMul, mul4_x_, input3_}); in DefinePattern() local
61 VectorRef add3({prim::kPrimAdd, mul4, real_div0}); in DefinePattern()
79 VectorRef mul4({prim::kPrimMul, input3_, mul4_x_}); in DefinePattern() local
81 VectorRef add3({prim::kPrimAdd, mul4, real_div0}); in DefinePattern()
99 VectorRef mul4({prim::kPrimMul, mul4_x_, input3_}); in DefinePattern() local
101 VectorRef add3({prim::kPrimAdd, mul4, real_div0}); in DefinePattern()
119 VectorRef mul4({prim::kPrimMul, mul4_x_, input3_}); in DefinePattern() local
121 VectorRef add3({prim::kPrimAdd, mul4, real_div0}); in DefinePattern()
139 VectorRef mul4({prim::kPrimMul, mul4_x_, input3_}); in DefinePattern() local
141 VectorRef add3({prim::kPrimAdd, mul4, real_div0}); in DefinePattern()
[all …]
Dlamb_next_mv_with_decay_v1_rule.cc51 bool MatchAdd5Pattern(const AnfNodePtr &node, const AnfNodePtr &mul4, const AnfNodePtr &real_div0, in MatchAdd5Pattern() argument
86 …return add5->input(kIndex2) == mul4 && real_div4->input(kIndex1) == real_div0 && sqrt1->input(kInd… in MatchAdd5Pattern()
136 VectorRef mul4({prim::kPrimMul, mul4_x_, input6_}); in DefinePattern() local
137 VectorRef add3({prim::kPrimAdd, real_div2, mul4}); in DefinePattern()
149 AnfNodePtr mul4 = nullptr; in Process() local
153 std::tie(mul4, real_div0, real_div1, add2_y) = GetSharedNodes(node); in Process()
157 if (manager->node_users().find(mul4) == manager->node_users().end()) { in Process()
161 AnfNodeIndexSet mul4_output_node_index_set = manager->node_users()[mul4]; in Process()
164 [&node, &mul4, &real_div0, &real_div1, &add2_y](const std::pair<AnfNodePtr, int> &node_index) { in Process()
165 …return node_index.first != node && MatchAdd5Pattern(node_index.first, mul4, real_div0, real_div1, … in Process()
Dlamb_next_mv_rule.cc126 auto mul4 = VectorRef({prim::kPrimMul, mul4_x_, input6_}); in DefinePattern() local
137 return VectorRef({prim::kPrimAdd, mul4, real_div2}); in DefinePattern()
162 auto mul4 = VectorRef({prim::kPrimMul, input6_, mul4_x_}); in DefinePattern() local
173 return VectorRef({prim::kPrimAdd, mul4, real_div2}); in DefinePattern()
198 auto mul4 = VectorRef({prim::kPrimMul, input6_, mul4_x_}); in DefinePattern() local
209 return VectorRef({prim::kPrimAdd, mul4, real_div2}); in DefinePattern()
234 auto mul4 = VectorRef({prim::kPrimMul, mul4_x_, input6_}); in DefinePattern() local
245 return VectorRef({prim::kPrimAdd, real_div2, mul4}); 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
146 mul4 = (q31_t) ((q15_t) (inA2 >> 16) * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15()
150 mul4 = (q31_t) ((q15_t) (inA2 >> 16) * (q15_t) inB1); in arm_cmplx_mult_real_q15()
158 out4 = (q15_t) __SSAT(mul4 >> 15U, 16); in arm_cmplx_mult_real_q15()
172 mul4 = (q31_t) ((q15_t) (inA2 >> 16) * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15()
176 mul4 = (q31_t) ((q15_t) (inA2 >> 16) * (q15_t) inB1); in arm_cmplx_mult_real_q15()
183 out4 = (q15_t) __SSAT(mul4 >> 15U, 16); in arm_cmplx_mult_real_q15()
/third_party/cmsis/CMSIS/DSP/Source/BasicMathFunctions/
Darm_mult_q15.c114 q31_t mul1, mul2, mul3, mul4; /* Temporary variables */ in arm_mult_q15() local
138 mul4 = (q31_t) ((q15_t) (inA2 ) * (q15_t) (inB2 )); in arm_mult_q15()
144 out4 = (q15_t) __SSAT(mul4 >> 15, 16); in arm_mult_q15()
/third_party/mindspore/tests/ut/python/parallel/
Dtest_auto_parallel_star_partial_strategy.py53 self.mul4 = P.Mul()
76 x = self.mul4(x, self.weight)
Dtest_one_hot_net.py128 self.mul4 = P.Sub()
129 self.mul4.shard(strategy=strategy.twod_twodbc_strategy)
186 mul4_o = self.mul4(mul_const5_o, max_o)
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/simd/
Dgeometric.h117 glm_vec4 const mul4 = _mm_mul_ps(mad0, N); in glm_vec4_refract() local
119 glm_vec4 const sub2 = _mm_sub_ps(mul5, mul4); in glm_vec4_refract()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Dquaternion_simd.inl29 __m128 const mul4 = _mm_mul_ps(mul0, _mm_set_ps(1.0f, -1.0f, 1.0f, 1.0f));
30 __m128 const add0 = _mm_add_ps(mul0, _mm_movehl_ps(mul4, mul4));
/third_party/ffmpeg/libswscale/ppc/
Dswscale_vsx.c1005 const vec_s16 mul4 = vec_splat_s16(4); in yuv2rgb_full_1_vsx_template() local
1045 tmp32 = vec_mule(vu, mul4); in yuv2rgb_full_1_vsx_template()
1046 tmp32_2 = vec_mulo(vu, mul4); in yuv2rgb_full_1_vsx_template()
1049 tmp32 = vec_mule(vv, mul4); in yuv2rgb_full_1_vsx_template()
1050 tmp32_2 = vec_mulo(vv, mul4); in yuv2rgb_full_1_vsx_template()
1135 const vec_s16 mul4 = vec_splat_s16(4); in yuv2rgb_1_vsx_template() local
1183 tmp32 = vec_mule(vu, mul4); in yuv2rgb_1_vsx_template()
1184 tmp32_2 = vec_mulo(vu, mul4); in yuv2rgb_1_vsx_template()
1187 tmp32 = vec_mule(vv, mul4); in yuv2rgb_1_vsx_template()
1188 tmp32_2 = vec_mulo(vv, mul4); in yuv2rgb_1_vsx_template()
/third_party/mindspore/mindspore/parallel/nn/
Dmoe.py345 self.mul4 = P.Mul().shard(((dp, 1, 1), (dp, 1, 1)))
377 position_in_expert = self.mul4(cumsum, expert_mask)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/configs/common/lib/Target/AArch64/
DAArch64GenSystemOperands.inc165 mul4 = 29,
2051 { "mul4", 0x1D }, // 14
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64SystemOperands.td292 def : SVEPREDPAT<"mul4", 0x1d>;