Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/format_type/
Ddeal_ref_and_split_unsupported_transdata.cc76 const AnfNodePtr &get_item, in AddRefPairToKernelGraph() argument
84 auto final_ref = (final_node == get_item ? cnode : final_node); in AddRefPairToKernelGraph()
102 … const CNodePtr &get_item) const { in AddAdditionalToRefOutput()
103 CNodePtr final_node = (get_item == nullptr ? cnode : get_item); in AddAdditionalToRefOutput()
142 AddRefPairToKernelGraph(func_graph, cnode, get_item, final_node, final_index, origin_pair); in AddAdditionalToRefOutput()
148 final_node = MakeDependency(get_item, final_node, cnode, func_graph); in AddAdditionalToRefOutput()
154 CNodePtr DealRefAndSpiltUnSupportedTransdata::MakeDependency(const CNodePtr &get_item, const CNodeP… in MakeDependency() argument
158 if (get_item != nullptr) { in MakeDependency()
159 depend_nodes = std::vector<AnfNodePtr>{NewValueNode(prim::kPrimDepend), get_item, final_node}; in MakeDependency()
Ddeal_ref_and_split_unsupported_transdata.h46 size_t input_index, const CNodePtr &get_item) const;
47 …airToKernelGraph(const FuncGraphPtr &func_graph, const CNodePtr &cnode, const AnfNodePtr &get_item,
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/mindir/
Doptimizer_unify_output.cc56 auto get_item = graph->NewCNode({NewValueNode(prim::kPrimTupleGetItem), cnode_ptr, index}); in ProcessOutput() local
57 MS_EXCEPTION_IF_NULL(get_item); in ProcessOutput()
59 get_item->set_abstract(abstract->Clone()); in ProcessOutput()
60 return get_item; in ProcessOutput()
/third_party/mindspore/mindspore/lite/tools/optimizer/fusion/
Dtflite_lstm_cell_fusion.cc64 VectorRef get_item = VectorRef({is_var_getitem, placeholders[7], placeholders[2], is_param3}); in GenerateBodyGraphCellPattern() local
67 VectorRef concat_input_h = VectorRef({is_var5, get_item, placeholders[5]}); in GenerateBodyGraphCellPattern()
647 auto get_item = utils::cast<CNodePtr>(node_user.first); in AdjustOtherGetItems() local
648 if (!CheckPrimitiveType(get_item, prim::kPrimTupleGetItem)) { in AdjustOtherGetItems()
651 auto new_inputs = get_item->inputs(); in AdjustOtherGetItems()
656 auto index_vnode = get_item->input(2); in AdjustOtherGetItems()
671 get_item->set_inputs(new_inputs); in AdjustOtherGetItems()
672get_item->set_fullname_with_scope(lstm_cnode->fullname_with_scope() + "_getitem_" + std::to_string… in AdjustOtherGetItems()
673 if (get_item->abstract() == nullptr) { in AdjustOtherGetItems()
679 auto squeeze_node = CreateSqueezeNode(func_graph, get_item, squeeze_axis); in AdjustOtherGetItems()
[all …]
Dtf_bidirection_gru_fusion.cc42 VectorRef GenerateBodyGraphHiddenPattern(const BaseRef &sigmoid1, const BaseRef &get_item, in GenerateBodyGraphHiddenPattern() argument
64 VectorRef concat2 = VectorRef({is_var_concat, get_item, pre_reset}); in GenerateBodyGraphHiddenPattern()
328 VectorRef get_item = VectorRef({is_getitem, placeholders[6], placeholders[2], is_param3}); in GetBodyGraphPattern() local
331 VectorRef concat_input_h = VectorRef({is_var3, get_item, placeholders[4]}); in GetBodyGraphPattern()
343 auto new_hidden = GenerateBodyGraphHiddenPattern(sigmoid1, get_item, placeholders); in GetBodyGraphPattern()
Dtf_lstm_cell_fusion.cc50 VectorRef get_item = VectorRef({is_var_getitem, placeholders[7], placeholders[2], is_param3}); in GenerateBodyGraphHiddenPattern() local
53 VectorRef concat_input_h = VectorRef({is_var1, get_item, placeholders[5]}); in GenerateBodyGraphHiddenPattern()
/third_party/glib/glib/tests/
Dsequence.c120 get_item (GSequenceIter *iter) in get_item() function
149 item = get_item (list->data); in check_integrity()
196 g_assert (get_item (iter) == item); in seq_foreach()
286 Item *item = get_item (iter); in check_sorted()
404 Item *item = get_item (iter); in dump_info()
627 get_item (iter1)->seq = seq2; in run_random_tests()
657 get_item (iter1)->seq = seq2; in run_random_tests()
658 get_item (iter2)->seq = seq1; in run_random_tests()
854 Item *item = get_item (list->data); in run_random_tests()
/third_party/boost/boost/python/suite/indexing/detail/
Dindexing_suite_detail.hpp387 return Policies::get_item(get_container(), index); in operator *()
394 return &Policies::get_item(get_container(), index); in get()
404 Policies::get_item(get_container(), index))); in detach()
484 DerivedPolicies::get_item( in base_get_item_()
/third_party/glib/gio/
Dglistmodel.h46 gpointer (* get_item) (GListModel *list, member
Dglistmodel.c222 return G_LIST_MODEL_GET_IFACE (list)->get_item (list, position); in g_list_model_get_item()
Dgliststore.c212 iface->get_item = g_list_store_get_item; in g_list_store_iface_init()
/third_party/mindspore/tests/ut/cpp/ir/
Dmanager_test.cc743 auto get_item = fg->NewCNode({NewValueNode(prim::kPrimTupleGetItem), d, NewValueNode(0)}); in TEST_F() local
744 fg->set_output(get_item); in TEST_F()
754 auto depend = get_item->input(1)->cast<CNodePtr>(); in TEST_F()
755 mgr->SetEdge(get_item, 1, depend->input(1)); in TEST_F()
758 ASSERT_EQ(get_item->input(1), t); in TEST_F()
762 ASSERT_EQ(mgr->node_users()[t].front().first, get_item); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/akg/
Dakg_kernel_json_decoder.cc218 auto get_item = in DecodeOutputDesc() local
220 func_graph->AddNode(get_item); in DecodeOutputDesc()
221 nodes_map_[output_desc[kJsonKeyTensorName]] = get_item; in DecodeOutputDesc()
/third_party/boost/boost/python/suite/indexing/
Dmap_indexing_suite.hpp117 get_item(Container& container, index_type i_) in get_item() function in boost::python::map_indexing_suite
Dvector_indexing_suite.hpp75 get_item(Container& container, index_type i) in get_item() function in boost::python::vector_indexing_suite
/third_party/mesa3d/src/compiler/nir/
Dnir_algebraic.py875 def get_item(opcode, children, pattern=None): function
886 self.wildcard = get_item("__wildcard", ())
887 self.const = get_item("__const", ())
916 item = get_item(opcode, children, pattern)
/third_party/boost/libs/python/doc/reference/
Dindexing.qbk110 get_item(Container& container, index_type i);
188 get_item(Container& container, index_type i);
249 get_item(Container& container, index_type i);
/third_party/mindspore/tests/ut/cpp/optimizer/
Dlib_test.cc347 auto get_item = make_get_const->NewCNode(node_list); in TEST_F() local
348 make_get_const->set_output(get_item); in TEST_F()
/third_party/python/Lib/test/
Dtest_buffer.py461 def get_item(lst, indices): function
836 item2 = get_item(lst, ind)