Home
last modified time | relevance | path

Searched refs:kg (Results 1 – 25 of 577) sorted by relevance

12345678910>>...24

/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/enhancer/
Dinsert_tensor_move_for_hccl_op_test.cc63 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
64 EXPECT_NE(kg, nullptr); in TEST_F()
65 auto origin_graph = std::make_shared<session::KernelGraph>(*kg); in TEST_F()
72 auto new_graph = optimizer->Optimize(kg); in TEST_F()
84 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
85 EXPECT_NE(kg, nullptr); in TEST_F()
86 for (auto p : kg->parameters()) { in TEST_F()
97 auto new_graph = optimizer->Optimize(kg); in TEST_F()
110 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
111 EXPECT_NE(kg, nullptr); in TEST_F()
[all …]
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/format_type/
Dremove_internal_output_test.cc36 AnfNodePtr GetMakeTuple(const KernelGraphPtr &kg) { in GetMakeTuple() argument
37 auto ret = kg->get_return(); in GetMakeTuple()
48 auto kg = GetKernelGraph(g, args_spec_list); in GetSingleOutputGraph() local
49 auto make_tuple = GetMakeTuple(kg); in GetSingleOutputGraph()
52 kg->AddInternalOutput(add, add, 0, true); in GetSingleOutputGraph()
62 return kg; in GetSingleOutputGraph()
70 auto kg = GetKernelGraph(g, args_spec_list); in GetMutilpleOutputGraph() local
71 auto output_make_tuple = GetMakeTuple(kg); in GetMutilpleOutputGraph()
80 kg->AddInternalOutput(tuple_getitem1, max_pool, 0, true); in GetMutilpleOutputGraph()
81 kg->AddInternalOutput(tuple_getitem2, max_pool, 1, true); in GetMutilpleOutputGraph()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dascend_auto_monad.cc68 void DumpAllGraphs(NotNull<KernelGraphPtr> kg, std::set<KernelGraphPtr> *memo) { in DumpAllGraphs() argument
69 if (memo->find(kg) != memo->end()) { in DumpAllGraphs()
72 memo->insert(kg); in DumpAllGraphs()
73 std::string file_name = "ascend_auto_monad_" + std::to_string(kg->graph_id()) + ".ir"; in DumpAllGraphs()
74 DumpIR(file_name, kg.get()); in DumpAllGraphs()
75 for (auto &child : kg->child_graph_order()) { in DumpAllGraphs()
83 void DumpGraphForDebug(const NotNull<KernelGraphPtr> kg) { in DumpGraphForDebug() argument
86 DumpAllGraphs(kg, &memo); in DumpGraphForDebug()
92 void DumpExecuteOrder(const NotNull<KernelGraphPtr> kg) { in DumpExecuteOrder() argument
96 std::string filename = "ascend_execute_order_" + std::to_string(kg->graph_id()) + ".dat"; in DumpExecuteOrder()
[all …]
Dascend_auto_monad.h28 explicit AscendAutoMonad(NotNull<KernelGraphPtr> kg) : kernel_graph_(kg) {} in AscendAutoMonad() argument
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/ir_fission/
Dbatch_norm_grad_infer_fission_test.cc42 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
49 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
64 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
71 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
72 EXPECT_TRUE(CheckEqualGraph(kg, new_graph)); in TEST_F()
84 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
91 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
92 EXPECT_TRUE(CheckEqualGraph(kg, new_graph)); in TEST_F()
Daddn_fission_test.cc44 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
52 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
69 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
77 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
94 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
102 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
119 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
127 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
144 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
152 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
Dconcat_fission_test.cc44 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
52 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
69 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
77 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
94 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
102 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
119 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
127 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
144 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
152 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
Dbatch_norm_bert_fission_test.cc42 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
43 auto ret = kg->get_return(); in TEST_F()
65 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
82 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
83 auto origin_graph = std::make_shared<session::KernelGraph>(*kg); in TEST_F()
89 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
Dsingle_batch_norm_fission_test.cc43 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
49 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
66 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
67 auto origin_graph = std::make_shared<session::KernelGraph>(*kg); in TEST_F()
73 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
Dpack_fission_test.cc44 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
52 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
68 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
76 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
Dunsorted_segment_sum_fission_test.cc40 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
46 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
60 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
66 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
Dtransdata_split_test.cc112 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
114 auto ret = kg->get_return(); in TEST_F()
143 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
160 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
162 auto ret = kg->get_return(); in TEST_F()
191 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
Dreduce_min_fission_test.cc43 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
50 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
Dsplit_fission_test.cc42 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
50 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/ir_fusion/
Dreshape_transpose_fusion_test.cc45 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
48 auto ret = kg->get_return(); in TEST_F()
57 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
74 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
80 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
81 EXPECT_TRUE(CheckEqualGraph(kg, new_graph)); in TEST_F()
Dtranspose_reshape_fusion_test.cc45 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
48 auto ret = kg->get_return(); in TEST_F()
59 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
76 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
82 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
83 EXPECT_TRUE(CheckEqualGraph(kg, new_graph)); in TEST_F()
Dfused_batch_norm_fusion_test.cc42 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
48 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
65 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
71 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
88 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
94 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
Dmomentum_lossscale_fusion_test.cc40 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
46 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
/third_party/mindspore/tests/ut/cpp/pre_activate/pass/
Deliminate_redundant_op_test.cc85 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
86 EXPECT_NE(kg, nullptr); in TEST_F()
89 auto ret = kg->get_return(); in TEST_F()
121 auto new_g1 = graph_optimizer->Optimize(kg); in TEST_F()
152 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
153 EXPECT_NE(kg, nullptr); in TEST_F()
156 auto ret = kg->get_return(); in TEST_F()
186 auto new_g1 = graph_optimizer->Optimize(kg); in TEST_F()
218 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
219 EXPECT_NE(kg, nullptr); in TEST_F()
[all …]
Dconst_to_attr_strided_slice_grad_test.cc58 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
59 ASSERT_TRUE(kg != nullptr); in TEST_F()
61 ret = kg->get_return(); in TEST_F()
74 EXPECT_TRUE(CheckEqualGraph(kg, g_after)); in TEST_F()
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/buffer_fusion/
Dbuffer_fusion_test.cc54 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
56 auto ret = kg->get_return(); in TEST_F()
102 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
115 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
117 auto ret = kg->get_return(); in TEST_F()
194 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
205 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
207 auto ret = kg->get_return(); in TEST_F()
284 FuncGraphPtr new_graph = optimizer->Optimize(kg); in TEST_F()
297 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
[all …]
/third_party/mindspore/tests/ut/cpp/tbe/
Dtbe_json_creator_test.cc49 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
51 auto ret = kg->get_return(); in TEST_F()
96 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
98 auto ret = kg->get_return(); in TEST_F()
148 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
150 auto ret = kg->get_return(); in TEST_F()
204 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
206 auto ret = kg->get_return(); in TEST_F()
249 auto kg = GetKernelGraph(g, args_spec_list); in TEST_F() local
251 auto ret = kg->get_return(); in TEST_F()
[all …]
/third_party/gstreamer/gstplugins_good/gst/alpha/
Dgstalpha.c551 guint8 accept_angle_ctg, guint8 one_over_kc, guint8 kfgy_scale, gint8 kg, in chroma_keying_yuv() argument
614 tmp = z * z + (x - kg) * (x - kg); in chroma_keying_yuv()
684 gint8 kg = alpha->kg; in gst_alpha_chroma_key_argb_ayuv() local
724 one_over_kc, kfgy_scale, kg, noise_level2); in gst_alpha_chroma_key_argb_ayuv()
794 gint8 kg = alpha->kg; in gst_alpha_chroma_key_argb_argb() local
838 one_over_kc, kfgy_scale, kg, noise_level2); in gst_alpha_chroma_key_argb_argb()
917 gint8 kg = alpha->kg; in gst_alpha_chroma_key_ayuv_argb() local
953 one_over_kc, kfgy_scale, kg, noise_level2); in gst_alpha_chroma_key_ayuv_argb()
1034 gint8 kg = alpha->kg; in gst_alpha_chroma_key_ayuv_ayuv() local
1060 one_over_kc, kfgy_scale, kg, noise_level2); in gst_alpha_chroma_key_ayuv_ayuv()
[all …]
/third_party/icu/icu4c/source/data/unit/
Drm.txt248 dnam{"kg"}
249 one{"{0} kg"}
250 other{"{0} kg"}
409 dnam{"kg"}
410 one{"{0} kg"}
411 other{"{0} kg"}
/third_party/skia/third_party/externals/icu/source/data/unit/
Drm.txt248 dnam{"kg"}
249 one{"{0} kg"}
250 other{"{0} kg"}
409 dnam{"kg"}
410 one{"{0} kg"}
411 other{"{0} kg"}

12345678910>>...24