/third_party/mindspore/mindspore/ops/composite/multitype_ops/ |
D | getitem_impl.py | 22 getitem = base.MultitypeFuncGraph('getitem', True) variable 76 @getitem.register("Tuple", "Number") 91 @getitem.register("Tuple", "Slice") 106 @getitem.register("Tuple", "Tensor") 122 @getitem.register("List", "Number") 137 @getitem.register("Dictionary", "String") 152 @getitem.register("Tensor", "Number") 167 @getitem.register("Tensor", "None") 182 @getitem.register("Tensor", "Slice") 197 @getitem.register("Tensor", "Tensor") [all …]
|
D | __init__.py | 25 from .getitem_impl import getitem
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/ |
D | optimize_assign.cc | 76 …thToParamUser(const AnfNodePtr &gk_node, const AnfNodePtr ¶m_user, const AnfNodePtr &getitem) { in HasPathToParamUser() argument 80 auto IncludeUser = [&result, &gk_node, &getitem](const AnfNodePtr &node) { in HasPathToParamUser() 81 if (node == getitem) { in HasPathToParamUser() 94 void KeepExecOrder(const FuncGraphPtr &func_graph, const AnfNodePtr &getitem, const AnfNodePtr &ass… in KeepExecOrder() argument 99 AnfNodePtrList update_state_inputs = {NewValueNode(prim::kPrimUpdateState), u, getitem}; in KeepExecOrder() 101 update_state_node->set_abstract(getitem->abstract()); in KeepExecOrder() 110 mng->Replace(getitem, load_node); in KeepExecOrder() 113 int64_t GetitemIndex(const AnfNodePtr &getitem) { in GetitemIndex() argument 114 auto index_node = getitem->cast<CNodePtr>()->input(kInputNodeOutputIndexInTupleGetItem); in GetitemIndex() 124 auto getitem = getitem_iter.first; in UpdateUsersOfGraphKernel() local [all …]
|
D | eliminate_redundant_output.cc | 46 auto getitem = getitem_node->cast<CNodePtr>(); in SetIndex() local 47 MS_EXCEPTION_IF_NULL(getitem); in SetIndex() 52 getitem->set_input(kInputNodeOutputIndexInTupleGetItem, idx_node); in SetIndex() 75 auto &getitem = user.first; in GetGraphKernelGetitemList() local 76 auto idx = GetIndex(getitem); in GetGraphKernelGetitemList() 78 …TION) << "Index of GetItem is out of range of MakeTuple. getitem node: " << getitem->DebugString(); in GetGraphKernelGetitemList() 81 mng->Replace(getitem, (*getitem_list)[idx]); in GetGraphKernelGetitemList() 84 (*getitem_list)[idx] = getitem; in GetGraphKernelGetitemList() 214 void EliminateHangingOutput::UpdateGetitemIndex(const AnfNodePtr &getitem, size_t offset) const { in UpdateGetitemIndex() argument 216 MS_EXCEPTION_IF_NULL(getitem); in UpdateGetitemIndex() [all …]
|
D | eliminate_redundant_output.h | 44 void UpdateGetitemIndex(const AnfNodePtr &getitem, size_t offset) const;
|
D | update_state_formatter.cc | 162 const AnfNodePtr &getitem = getitems_[i]; in FindIndexesToUpdateState() local 163 if (getitem == nullptr) continue; in FindIndexesToUpdateState() 165 const auto &getitem_user = mng->node_users()[getitem]; in FindIndexesToUpdateState()
|
D | decrease_transfer_precision.cc | 37 int64_t ObtainGetItemIndex(const AnfNodePtr &getitem) { in ObtainGetItemIndex() argument 38 auto index_node = getitem->cast<CNodePtr>()->input(kInputNodeOutputIndexInTupleGetItem); in ObtainGetItemIndex()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/format_type/ |
D | insert_cast.cc | 56 auto getitem = func_graph->NewCNode({NewValueNode(prim::kPrimTupleGetItem), cnode, idx}); in InsertCastForMultipleOutput() local 61 getitem->set_abstract(abs_i); in InsertCastForMultipleOutput() 65 …replace_node = AddCastOpNodeToGraph(func_graph, getitem, dev_fmt, device_type, origin_type, origin… in InsertCastForMultipleOutput() 66 origin_type, AnfAlgo::GetOutputReshapeType(getitem, 0)); in InsertCastForMultipleOutput() 74 replace_node = getitem; in InsertCastForMultipleOutput()
|
D | deal_ref_and_split_unsupported_transdata.h | 37 …CNodePtr MakeDependency(const CNodePtr &getitem, const CNodePtr &final_node, const CNodePtr &cnode,
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/buffer_fusion/ |
D | bnupdate_eltwise_fusion_pass.cc | 32 auto getitem = eltwise_input->cast<CNodePtr>(); in MatchBnupdateDoubleOutputEltwise() local 33 MS_EXCEPTION_IF_NULL(getitem); in MatchBnupdateDoubleOutputEltwise() 34 auto bnupdate = getitem->input(kIndex1); in MatchBnupdateDoubleOutputEltwise()
|
D | bnupdate_eltwise_eltwise_fusion_pass.cc | 42 auto getitem = tuple_getitem->cast<CNodePtr>(); in MatchBnupdateAddRelu() local 43 MS_EXCEPTION_IF_NULL(getitem); in MatchBnupdateAddRelu() 44 auto bnupdate = getitem->input(kRealInputNodeIndexInTupleGetItem); in MatchBnupdateAddRelu()
|
D | ub_pattern_fusion.cc | 328 for (auto &getitem : tuple_getitem_nodes) { in GetFusionScopeOutputNodeList() local 329 MS_EXCEPTION_IF_NULL(getitem); in GetFusionScopeOutputNodeList() 330 auto getitem_ptr = getitem->cast<CNodePtr>(); in GetFusionScopeOutputNodeList() 339 for (auto &item_use_node : manager->node_users()[getitem]) { in GetFusionScopeOutputNodeList() 342 (*buffer_fusion_infos)[fusion_id].outputs_list.push_back(getitem); in GetFusionScopeOutputNodeList()
|
/third_party/boost/libs/optional/test/ |
D | optional_test_maybe_uninitialized_warning.cpp | 18 boost::optional<int> getitem(); 22 boost::optional<int> a = getitem(); in main()
|
/third_party/python/Lib/ctypes/test/ |
D | test_slicing.py | 77 self.assertRaises(ValueError, operator.getitem, 79 self.assertRaises(ValueError, operator.getitem, 81 self.assertRaises(ValueError, operator.getitem, 83 self.assertRaises(ValueError, operator.getitem,
|
/third_party/boost/boost/python/ |
D | object_protocol_core.hpp | 30 BOOST_PYTHON_DECL object getitem(object const& target, object const& key); 43 using api::getitem;
|
D | object_protocol.hpp | 52 object getitem(Target const& target, Key const& key BOOST_PYTHON_NO_ARRAY_ARG(Key)) in getitem() function 54 return getitem(object(target), object(key)); in getitem()
|
D | object_items.hpp | 65 return getitem(target, key); in get()
|
/third_party/mindspore/mindspore/_extends/parse/ |
D | resources.py | 85 T.getitem: multitype_ops.getitem,
|
D | trope.py | 25 matmul, getitem, setitem
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | sandbox.py | 359 def getitem(self, obj, argument): member in SandboxedEnvironment 462 obj = self._env.getitem(obj, i)
|
/third_party/jinja2/ |
D | sandbox.py | 381 def getitem(self, obj, argument): member in SandboxedEnvironment 497 obj = self._env.getitem(obj, i)
|
/third_party/boost/libs/optional/doc/ |
D | 17_gotchas.qbk | 87 boost::optional<int> getitem(); 91 boost::optional<int> a = getitem();
|
/third_party/skia/third_party/externals/jinja2/ |
D | sandbox.py | 381 def getitem(self, obj, argument): member in SandboxedEnvironment 497 obj = self._env.getitem(obj, i)
|
/third_party/python/Lib/ |
D | operator.py | 169 def getitem(a, b): function 445 __getitem__ = getitem
|
D | typing.py | 365 def __init__(self, getitem): argument 366 self._getitem = getitem 367 self._name = getitem.__name__ 368 self.__doc__ = getitem.__doc__ 1088 return operator.getitem, (origin, args) 1167 return operator.getitem, (Callable, args) 1618 return operator.getitem, (
|