/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/pre_activate/ |
D | adam_apply_one_with_decay_rule.py | 49 …def before_cond1(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, mul4_x, a… argument 59 mul4 = mul(mul4_x, input3) 63 sub0 = sub(input3, mul5) 67 …def before_cond2(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, mul4_x, a… argument 77 mul4 = mul(input3, mul4_x) 81 sub0 = sub(input3, mul5) 85 …def before_cond3(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, mul4_x, a… argument 95 mul4 = mul(mul4_x, input3) 99 sub0 = sub(input3, mul5) 103 …def before_cond4(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, mul4_x, a… argument [all …]
|
D | concat_fission_test.py | 37 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 43 b = concat((input2, input3)) 52 def after_divided_by_3(input0, input1, input2, input3, input4, input5, input6, input7, input8): argument 54 b = concat((input3, input4, input5)) 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 …]
|
D | addn_fission_test.py | 39 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 45 b = addn((input2, input3)) 54 def after_divided_by_3(input0, input1, input2, input3, input4, input5, input6, input7, input8): argument 56 b = addn((input3, input4, input5)) 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 …]
|
D | adam_apply_one_fusion_test.py | 49 def before(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, add2_y): argument 61 sub0 = Sub(input3, mul4) 67 … def before_cond1(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, add2_y): argument 79 sub0 = Sub(input3, mul4) 85 … def before_cond2(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, add2_y): argument 97 sub0 = Sub(input3, mul4) 103 … def before_cond3(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, add2_y): argument 115 sub0 = Sub(input3, mul4) 121 … def before_cond4(input0, input1, input2, input3, input4, mul0_x, mul1_x, mul2_x, mul3_x, add2_y): argument 133 sub0 = Sub(input3, mul4) [all …]
|
D | lamb_next_mv_rule_test.py | 42 …def before(input0, input1, input2, input3, input4, input5, input6, constant_mul0_x, constant_mul1_… argument 45 mul1 = Mul(constant_mul1_sub, input3) 65 …def after(input0, input1, input2, input3, input4, input5, input6, constant_mul0_x, constant_mul1_s… argument 67 lamb_next_mv = LambNextMV(input0, input1, input2, input3, input4, input5, input6, 76 …def before_unmatched_real_div4(input0, input1, input2, input3, input4, input5, input6, constant_mu… argument 80 mul1 = Mul(constant_mul1_sub, input3) 100 …def before_unmatched_real_div0(input0, input1, input2, input3, input4, input5, input6, constant_mu… argument 104 mul1 = Mul(constant_mul1_sub, input3) 124 …def before_unmatched_real_div1(input0, input1, input2, input3, input4, input5, input6, constant_mu… argument 128 mul1 = Mul(constant_mul1_sub, input3) [all …]
|
D | lamb_next_mv_with_decay_rule_test.py | 42 …def before(input0, input1, input2, input3, input4, input5, input6, constant_mul0_x, constant_mul1_… argument 44 mul1 = Mul(constant_mul1_sub, input3) 66 …def after(input0, input1, input2, input3, input4, input5, input6, constant_mul0_x, constant_mul1_s… argument 68 …lamb_next_mv_with_decay = LambNextMVWithDecay(input0, input1, input2, input3, input4, input5, inpu… 78 … def before_unmatched_add3(input0, input1, input2, input3, input4, input5, input6, constant_mul0_x, argument 81 mul1 = Mul(constant_mul1_sub, input3) 103 … def before_unmatched_mul4(input0, input1, input2, input3, input4, input5, input6, constant_mul0_x, argument 106 mul1 = Mul(constant_mul1_sub, input3) 128 …def before_unmatched_real_div0(input0, input1, input2, input3, input4, input5, input6, constant_mu… argument 131 mul1 = Mul(constant_mul1_sub, input3) [all …]
|
D | batch_norm_grad_infer_fission_test.py | 42 def before(input0, input1, input2, input3, input4, input5): argument 43 batch_norm = BatchNormGradInfer(input0, input1, input2, input3, input4, input5) 49 def before_is_training(input0, input1, input2, input3, input4, input5): argument 50 batch_norm = BatchNormGradTraining(input0, input1, input2, input3, input4, input5) 56 def before_output3_not_null(input0, input1, input2, input3, input4, input5): argument 57 batch_norm = BatchNormGradInfer(input0, input1, input2, input3, input4, input5) 63 def after(input0, input1, input2, input3, input4, input5): argument 65 bn_training_update_grad = BNTrainingUpdateGrad(input0, input1, input3, input4)
|
D | batchnorm_to_bninfer.py | 41 def before(input0, input1, input2, input3, input4): argument 42 res = batch_norm(input0, input1, input2, input3, input4) 47 def after(input0, input1, input2, input3, input4): argument 48 res = bn_infer(input0, input1, input2, input3, input4) 52 def no_fusion(input0, input1, input2, input3, input4): argument 53 res = batch_norm(input0, input1, input2, input3, input4)
|
D | stack_fission_test.py | 40 def before(input0, input1, input2, input3, input4, input5, input6, input7, input8): argument 41 return stack((input0, input1, input2, input3, input4, input5, input6, input7, input8)) 44 def after_divided_by_3(input0, input1, input2, input3, input4, input5, input6, input7, input8): argument 46 stack2 = stack(input3, input4, input5) 51 def after_divided_by_4(input0, input1, input2, input3, input4, input5, input6, input7, input8): argument 52 stack1 = stack(input0, input1, input2, input3)
|
D | layer_norm_beta_gamma_backprop_fusion_test.py | 40 def before(input0, input1, input2, input3): argument 41 layer = LayerNormBetaGammaBackprop(input0, input1, input2, input3) 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)
|
D | lamb_next_mv_with_decay_v1_rule.py | 44 …def before(input0, input1, input2, input3, input4, input5, input6, mul0_x, mul1_sub, mul2_x, mul3_… argument 53 mul1 = mul(mul1_sub, input3) 67 …def after(input0, input1, input2, input3, input4, input5, input6, mul0_x, mul1_sub, mul2_x, mul3_s… argument 69 …fusion = LambNextMVWithDecayV1(input0, input1, input2, input3, input4, input5, input6, mul0_x, mul… 79 …def no_match1(input0, input1, input2, input3, input4, input5, input6, mul0_x, mul1_sub, mul2_x, mu… argument 88 mul1 = mul(mul1_sub, input3) 103 …def no_match2(input0, input1, input2, input3, input4, input5, input6, mul0_x, mul1_sub, mul2_x, mu… argument 112 mul1 = mul(mul1_sub, input3) 127 …def no_match3(input0, input1, input2, input3, input4, input5, input6, mul0_x, mul1_sub, mul2_x, mu… argument 137 mul1 = mul(mul1_sub, input3)
|
D | batchnormgrad_to_bninfergrad.py | 41 def before(input0, input1, input2, input3, input4, input5): argument 42 res = batch_norm_grad(input0, input1, input2, input3, input4, input5) 47 def after(input0, input1, input2, input3, input4, input5): argument 52 def no_fusion(input0, input1, input2, input3, input4, input5): argument 53 res = batch_norm_grad(input0, input1, input2, input3, input4, input5)
|
D | lars_v2_fission_test.py | 41 def before(input0, input1, input2, input3): argument 42 res = lars_v2(input0, input1, input2, input3) 46 def after(input0, input1, input2, input3): argument 50 res = lars_v2_update(input0, input1, item0, item1, input2, input3)
|
D | confusion_mul_grad_fusion.py | 43 def before(input1, input2, input3): argument 47 mul1 = mul(input3, addn0) 54 def after(input1, input2, input3): argument 56 res = confusion_mul_grad(input1, addn0, input3)
|
D | fused_batch_norm_fusion_test.py | 53 def before(input0, input1, input2, input3, input4, var0, var1): argument 54 batch_norm = BatchNorm(input0, input1, input2, input3, input4) 70 def before_mix_precision0(input0, input1, input2, input3, input4, var0, var1): argument 71 batch_norm = BatchNorm(input0, input1, input2, input3, input4) 87 def before_mix_precision1(input0, input1, input2, input3, input4, var0, var1): argument 88 batch_norm = BatchNorm(input0, input1, input2, input3, input4) 104 def after(input0, input1, input2, input3, input4, var0, var1): argument
|
D | momentum_lossscale_fusion_test.py | 46 def before(input0, input1, input2, input3, input4): argument 47 mul = Mul(constant, input3) 52 def after(input0, input1, input2, input3, input4): argument 54 …return make_tuple(tuple_getitem(FusedMulApplyMomentum(input0, input1, input2, input3, dep, constan…
|
D | lamb_update_with_lr_v2_test.py | 44 def before(input0, input1, input2, input3, input4, greater_y, select_e): argument 51 mul1 = Mul(mul0, input3) 56 def after(input0, input1, input2, input3, input4, greater_y, select_e): argument 57 res = LambUpdateWithLrV2(input0, input1, input2, input3, input4, greater_y, select_e)
|
D | lamb_update_with_lr_rule_fusion.py | 47 …def before(input0, input1, input2, input3, input4, input5, constant_greater01_max0, constant_selec… argument 56 res = mul(res, input3) 62 …def after(input0, input1, input2, input3, input4, input5, constant_greater01_max0, constant_select… argument 64 … res = lamb_update_with_lr(input0, input1, input2, input3, input4, input5, constant_greater01_max0,
|
D | batch_norm_bert_fission_test.py | 41 def before(input0, input1, input2, input3, input4): argument 42 batch_norm = BatchNorm(input0, input1, input2, input3, input4) 48 def after(input0, input1, input2, input3, input4): argument
|
/third_party/mindspore/mindspore/lite/test/ut/tools/optimizer/fusion/ |
D | conv_bn_fusion_test.cc | 134 auto input3 = std::make_unique<schema::TensorT>(); in BuildCaffeGraph() local 135 input3->nodeType = lite::NodeType_ValueNode; in BuildCaffeGraph() 136 input3->format = schema::Format_NHWC; in BuildCaffeGraph() 137 input3->dataType = TypeId::kNumberTypeFloat32; in BuildCaffeGraph() 138 input3->dims = {1, 5, 5, 8}; in BuildCaffeGraph() 139 input3->data.resize(sizeof(float) * 8 * 5 * 5); in BuildCaffeGraph() 140 meta_graph->allTensors.emplace_back(std::move(input3)); in BuildCaffeGraph() 224 auto input3 = std::make_unique<schema::TensorT>(); in BuildTFGraph() local 225 input3->nodeType = lite::NodeType_ValueNode; in BuildTFGraph() 226 input3->format = schema::Format_NHWC; in BuildTFGraph() [all …]
|
D | conv_scale_fusion_test.cc | 162 auto input3 = std::make_unique<schema::TensorT>(); in BuildGraph() local 163 input3->nodeType = lite::NodeType_ValueNode; in BuildGraph() 164 input3->format = schema::Format_NHWC; in BuildGraph() 165 input3->dataType = TypeId::kNumberTypeFloat32; in BuildGraph() 166 input3->dims = {1, 5, 5, 8}; in BuildGraph() 167 input3->data.resize(sizeof(float) * 8 * 5 * 5); in BuildGraph() 168 meta_graph->allTensors.emplace_back(std::move(input3)); in BuildGraph()
|
/third_party/boost/libs/compute/test/ |
D | test_functional_unpack.cpp | 60 compute::vector<float> input3(4, context); in BOOST_AUTO_TEST_CASE() local 64 compute::copy_n(data3, 4, input3.begin(), queue); in BOOST_AUTO_TEST_CASE() 69 boost::make_tuple(input1.begin(), input2.begin(), input3.begin()) in BOOST_AUTO_TEST_CASE() 72 boost::make_tuple(input1.end(), input2.end(), input3.begin()) in BOOST_AUTO_TEST_CASE()
|
/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/ |
D | input_test.cpp | 100 pp::Input input3(count, str, nullptr); in TEST() local 101 EXPECT_EQ(3u, input3.read(buf, maxSize, &lineNo)); in TEST() 103 EXPECT_EQ(0u, input3.read(buf, maxSize, &lineNo)); in TEST() 138 pp::Input input3(count, str, nullptr); in TEST() local 139 EXPECT_EQ(3u, input3.read(buf, maxSize, &lineNo)); in TEST() 141 EXPECT_EQ(0u, input3.read(buf, maxSize, &lineNo)); in TEST()
|
/third_party/flutter/skia/third_party/externals/angle2/src/tests/preprocessor_tests/ |
D | input_test.cpp | 100 pp::Input input3(count, str, nullptr); in TEST() local 101 EXPECT_EQ(3u, input3.read(buf, maxSize, &lineNo)); in TEST() 103 EXPECT_EQ(0u, input3.read(buf, maxSize, &lineNo)); in TEST() 138 pp::Input input3(count, str, nullptr); in TEST() local 139 EXPECT_EQ(3u, input3.read(buf, maxSize, &lineNo)); in TEST() 141 EXPECT_EQ(0u, input3.read(buf, maxSize, &lineNo)); in TEST()
|
/third_party/boost/libs/sort/test/ |
D | string_sort_test.cpp | 69 string input3 = "aba"; in offset_comparison_test() local 73 BOOST_CHECK(less_than(input1, input3)); in offset_comparison_test() 77 BOOST_CHECK(!greater_than(input1, input3)); in offset_comparison_test() 85 BOOST_CHECK(offset_less(input1, input3)); in offset_comparison_test() 89 BOOST_CHECK(!offset_greater(input1, input3)); in offset_comparison_test()
|