/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/pre_activate/ |
D | lamb_next_mv_rule_test.py | 20 Mul = P.Mul() variable 44 mul0 = Mul(constant_mul0_x, input4) 45 mul1 = Mul(constant_mul1_sub, input3) 47 mul2 = Mul(constant_mul2_x, input1) 48 mul3 = Mul(constant_mul3_sub1, input0) 57 real_div2 = Mul(real_div0, sqrt0) 58 mul4 = Mul(constant_mul4_x, input6) 79 mul0 = Mul(constant_mul0_x, input4) 80 mul1 = Mul(constant_mul1_sub, input3) 82 mul2 = Mul(constant_mul2_x, input1) [all …]
|
D | lamb_next_mv_with_decay_rule_test.py | 20 Mul = P.Mul() variable 44 mul1 = Mul(constant_mul1_sub, input3) 45 mul0 = Mul(constant_mul0_x, input4) 47 mul2 = Mul(constant_mul2_x, input1) 48 mul3 = Mul(constant_mul3_sub1, input0) 56 mul4 = Mul(constant_mul4_x, input6) 58 real_div2 = Mul(real_div0, sqrt0) 81 mul1 = Mul(constant_mul1_sub, input3) 82 mul0 = Mul(constant_mul0_x, input4) 84 mul2 = Mul(constant_mul2_x, input1) [all …]
|
D | adam_apply_one_fusion_test.py | 23 Mul = P.Mul() variable 51 mul1 = Mul(mul1_x, input0) 52 mul0 = Mul(mul0_x, input2) 53 mul2 = Mul(mul2_x, input1) 54 mul3 = Mul(mul3_x, square0) 60 mul4 = Mul(input4, true_div0) 69 mul1 = Mul(mul1_x, input0) 70 mul0 = Mul(mul0_x, input2) 71 mul2 = Mul(mul2_x, input1) 72 mul3 = Mul(mul3_x, square0) [all …]
|
D | softmax_grad_ext_fusion.py | 19 Mul = P.Mul() variable 44 mul = Mul(input1, input0) 48 mul1 = Mul(input2, input1) 49 mul_grad = Mul(mul1, sub) 65 mul = Mul(input1, input0) 68 mul1 = Mul(input1, sub) 69 mul_grad = Mul(input2, mul1) 85 mul = Mul(input1, input0) 88 mul1 = Mul(input1, sub) 89 mul_grad = Mul(mul1, input2)
|
D | lamb_next_right_rule_test.py | 20 Mul = P.Mul() variable 45 mul2 = Mul(mul2_x, input1) 46 mul3 = Mul(mul3_x, square0) 48 real_div1 = Mul(add1, true_div1_recip) 58 mul2 = Mul(mul2_x, input1) 61 real_div1 = Mul(add1, true_div1_recip)
|
D | fused_batch_norm_fusion_test.py | 24 Mul = P.Mul() variable 57 mul0 = Mul(sub0, constant0) 58 mul1 = Mul(sub1, constant1) 74 mul0 = Mul(sub0, constant0) 75 mul1 = Mul(sub1, constant1) 91 mul0 = Mul(Cast(sub0, mstype.float32), constant0) 92 mul1 = Mul(Cast(sub1, mstype.float32), constant1)
|
D | lamb_update_with_lr_v2_test.py | 20 Mul = P.Mul() variable 50 mul0 = Mul(select1, input2) 51 mul1 = Mul(mul0, input3)
|
D | momentum_lossscale_fusion_test.py | 23 Mul = P.Mul() variable 47 mul = Mul(constant, input3)
|
/third_party/mindspore/mindspore/core/ops/ |
D | mul.h | 31 class MS_CORE_API Mul : public PrimitiveC { 34 Mul() : PrimitiveC(kNameMul) { InitIOName({"x", "y"}, {"output"}); } in Mul() function 35 …explicit Mul(const std::string k_name) : PrimitiveC(k_name) { InitIOName({"x", "y"}, {"output"}); } in Mul() function 37 ~Mul() = default; 38 MS_DECLARE_PARENT(Mul, PrimitiveC); 44 using PrimMulPtr = std::shared_ptr<Mul>;
|
/third_party/skia/src/core/ |
D | SkMalloc.cpp | 9 return sk_calloc_throw(SkSafeMath::Mul(count, elemSize)); in sk_calloc_throw() 13 return sk_malloc_throw(SkSafeMath::Mul(count, elemSize)); in sk_malloc_throw() 17 return sk_realloc_throw(buffer, SkSafeMath::Mul(count, elemSize)); in sk_realloc_throw() 21 return sk_malloc_canfail(SkSafeMath::Mul(count, elemSize)); in sk_malloc_canfail()
|
/third_party/mindspore/tests/ut/python/parallel/ |
D | test_reduce_method_info.py | 87 self.mul1 = P.Mul().shard(strategy1) 89 self.mul2 = P.Mul().shard(strategy3) 114 self.mul1 = P.Mul().shard(strategy1) 116 self.mul2 = P.Mul().shard(strategy3) 141 self.mul1 = P.Mul().shard(strategy1) 143 self.mul2 = P.Mul().shard(strategy3) 168 self.mul1 = P.Mul().shard(strategy1) 170 self.mul2 = P.Mul().shard(strategy3) 195 self.mul1 = P.Mul().shard(strategy1) 218 self.mul1 = P.Mul().shard(strategy1) [all …]
|
D | test_auto_parallel_reduce_method.py | 61 self.mul1 = P.Mul() 63 self.mul2 = P.Mul() 85 self.mul1 = P.Mul() 87 self.mul2 = P.Mul() 109 self.mul1 = P.Mul() 111 self.mul2 = P.Mul()
|
D | test_tile.py | 27 self.mul = P.Mul().shard(strategy1) 33 self.mul2 = P.Mul() 46 self.mul = P.Mul().shard(strategy1) 58 self.mul = P.Mul().shard(strategy1) 64 self.mul2 = P.Mul()
|
D | test_parameter_multi_users.py | 27 self.mul = P.Mul().shard(strategy1) 28 self.mul2 = P.Mul().shard(strategy2) 40 self.mul = P.Mul().shard(strategy1) 41 self.mul2 = P.Mul().shard(strategy2)
|
D | test_auto_parallel_star_partial_strategy.py | 50 self.mul1 = P.Mul() 51 self.mul2 = P.Mul() 52 self.mul3 = P.Mul() 53 self.mul4 = P.Mul()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMParallelDSP.cpp | 105 if (I->getOpcode() == Instruction::Mul) in InsertMuls() 108 if (I->getOpcode() == Instruction::Mul) in InsertMuls() 123 if (auto *Mul = GetMulOperand(Add->getOperand(0))) in InsertMuls() local 124 InsertMul(Mul); in InsertMuls() 125 if (auto *Mul = GetMulOperand(Add->getOperand(1))) in InsertMuls() local 126 InsertMul(Mul); in InsertMuls() 188 for (auto &Mul : Muls) in dump() 189 LLVM_DEBUG(dbgs() << *Mul->Root << "\n" in dump() 190 << " " << *Mul->LHS << "\n" in dump() 191 << " " << *Mul->RHS << "\n"); in dump() [all …]
|
/third_party/mindspore/tests/ut/python/pynative_mode/ |
D | test_insert_grad_of.py | 97 class Mul(nn.Cell): class 99 super(Mul, self).__init__() 109 bprop(Mul(), Tensor(np.ones([2, 2]).astype(np.float32)), 127 class Mul(nn.Cell): class 129 super(Mul, self).__init__() 146 GradNetWrap(Mul())(input_x, input_y)
|
D | test_stop_gradient.py | 187 class Mul(nn.Cell): class 189 super(Mul, self).__init__() 197 dx, dy = bprop(Mul(), Tensor(np.ones([2, 2]).astype(np.float32)), 205 class Mul(nn.Cell): class 207 super(Mul, self).__init__() 218 self.mul = Mul() 348 class Mul(nn.Cell): class 350 super(Mul, self).__init__() 361 self.mul = Mul()
|
/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/optimizer/ |
D | opt_test.py | 1063 Mul = Primitive('Mul') 1072 return Mul(tensor1, Mul(tensor2, Sqrt(x))) 1076 return Mul(tensor1, Mul(Sqrt(x), tensor2)) 1080 return Mul(Mul(Sqrt(x), tensor2), tensor1) 1084 return Mul(Mul(Sqrt(x), tensor2), tensor1) 1088 return Mul(Sqrt(x), Mul(tensor1, tensor2)) 1095 Mul = Primitive('Mul') 1105 return AddN((z, Mul(y, AllReduce(x)))) 1109 return AddN((z, Mul(AllReduce(x), y))) 1113 return AddN((Mul(y, AllReduce(x)), z)) [all …]
|
/third_party/mindspore/mindspore/core/ops/fusion/ |
D | mul_fusion.h | 27 class MS_CORE_API MulFusion : public Mul { 30 MulFusion() : Mul(kNameMulFusion) { InitIOName({"x", "y"}, {"output"}); } in MulFusion() 35 MS_DECLARE_PARENT(MulFusion, Mul);
|
/third_party/flutter/skia/src/core/ |
D | SkMallocPixelRef.cpp | 16 return sk_calloc_throw(SkSafeMath::Mul(count, elemSize)); in sk_calloc_throw() 20 return sk_malloc_throw(SkSafeMath::Mul(count, elemSize)); in sk_malloc_throw() 24 return sk_realloc_throw(buffer, SkSafeMath::Mul(count, elemSize)); in sk_realloc_throw() 28 return sk_malloc_canfail(SkSafeMath::Mul(count, elemSize)); in sk_malloc_canfail()
|
/third_party/mindspore/mindspore/parallel/nn/ |
D | moe.py | 122 self.mul = P.Mul().shard(((), ())) 274 self.mul = P.Mul().shard(((dp, 1, 1), (dp,))) 342 self.mul = P.Mul().shard(((dp, 1), (dp, 1))) 343 self.mul2 = P.Mul().shard(((1,), ())) 344 self.mul3 = P.Mul().shard(((1,), ())) 345 self.mul4 = P.Mul().shard(((dp, 1, 1), (dp, 1, 1))) 346 self.mul5 = P.Mul().shard(((dp, 1, 1), (dp, 1, 1))) 347 self.mul6 = P.Mul().shard(((dp, 1), (dp, 1))) 348 self.mul7 = P.Mul().shard(((dp, 1), (dp, 1))) 349 self.mul8 = P.Mul().shard(((dp, 1, 1), (dp, 1, 1))) [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/math/ |
D | broadcast_gpu_kernel.cc | 40 …Mul, KernelAttr().AddInputAttr(kNumberTypeFloat64).AddInputAttr(kNumberTypeFloat64).AddOutputAttr(… 106 …Mul, KernelAttr().AddInputAttr(kNumberTypeFloat32).AddInputAttr(kNumberTypeFloat32).AddOutputAttr(… 188 …Mul, KernelAttr().AddInputAttr(kNumberTypeFloat16).AddInputAttr(kNumberTypeFloat16).AddOutputAttr(… 263 …Mul, KernelAttr().AddInputAttr(kNumberTypeInt32).AddInputAttr(kNumberTypeInt32).AddOutputAttr(kNum… 328 …Mul, KernelAttr().AddInputAttr(kNumberTypeInt64).AddInputAttr(kNumberTypeInt64).AddOutputAttr(kNum… 376 …Mul, KernelAttr().AddInputAttr(kNumberTypeInt8).AddInputAttr(kNumberTypeInt8).AddOutputAttr(kNumbe… 390 …Mul, KernelAttr().AddInputAttr(kNumberTypeUInt32).AddInputAttr(kNumberTypeUInt32).AddOutputAttr(kN… 411 …Mul, KernelAttr().AddInputAttr(kNumberTypeUInt8).AddInputAttr(kNumberTypeUInt8).AddOutputAttr(kNum… 437 …Mul, KernelAttr().AddInputAttr(kNumberTypeInt16).AddInputAttr(kNumberTypeInt16).AddOutputAttr(kNum… 442 …Mul, KernelAttr().AddInputAttr(kNumberTypeUInt16).AddInputAttr(kNumberTypeUInt16).AddOutputAttr(kN… [all …]
|
/third_party/mindspore/mindspore/nn/optim/ |
D | adafactor.py | 59 return P.Mul()(r_factor, c_factor) 114 exp_avg_sq_row_update = P.Mul()(exp_avg_sq_row_update, beta2t) 119 exp_avg_sq_col_update = P.Mul()(exp_avg_sq_col_update, beta2t) 125 update = P.Mul()(update, grad) 128 exp_avg_sq_update = P.Add()(P.Mul()(exp_avg_sq_update, beta2t), update) 131 update = P.Mul()(exp_avg_sq_update, grad) 135 update = P.Mul()(P.Div()(update, update_coff), learning_rate_update) 140 exp_avg_update = P.Add()(P.Mul()(exp_avg_update, beta1), update * (1 - beta1))
|
/third_party/mindspore/tests/mindspore_test_framework/apps/ |
D | test_no_facade.py | 37 def Mul(x, y): function 61 'block': Mul
|