Home
last modified time | relevance | path

Searched refs:OrderedMap (Results 1 – 22 of 22) sorted by relevance

/third_party/mindspore/mindspore/core/utils/
Dordered_map.h32 class OrderedMap {
71 OrderedMap() = default;
72 ~OrderedMap() = default;
74 OrderedMap(OrderedMap &&other) noexcept = default;
75 OrderedMap &operator=(OrderedMap &&other) noexcept = default;
77 explicit OrderedMap(const sequential_type &other) { in OrderedMap() function
84 OrderedMap(const OrderedMap &other) : OrderedMap(other.sequential_data_) {} in OrderedMap() function
86 OrderedMap &operator=(const OrderedMap &other) {
102 void swap(OrderedMap &rhs) noexcept { in swap()
210 class OrderedMap<std::shared_ptr<T>, ValueT> {
[all …]
Dcounter.h167 using map_type = OrderedMap<key_type, int>;
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dparallel_fusion.cc34 OrderedMap<AnfNodePtr, NodeRelation> *node_rels) { in ProcessThroughPassCNode()
84 void ProcessTailMakeTupleCNode(OrderedMap<AnfNodePtr, NodeRelation> *node_rels) { in ProcessTailMakeTupleCNode()
129 bool IsSingleInputNode(const OrderedMap<AnfNodePtr, NodeRelation> &node_rels, const AnfNodePtr &nod… in IsSingleInputNode()
136 bool IsSingleOutputNode(const OrderedMap<AnfNodePtr, NodeRelation> &node_rels, const AnfNodePtr &no… in IsSingleOutputNode()
143 bool IsMultiInputsNode(const OrderedMap<AnfNodePtr, NodeRelation> &node_rels, const AnfNodePtr &nod… in IsMultiInputsNode()
150 bool IsMultiOutputsNode(const OrderedMap<AnfNodePtr, NodeRelation> &node_rels, const AnfNodePtr &no… in IsMultiOutputsNode()
157 bool IsNoInputsNode(const OrderedMap<AnfNodePtr, NodeRelation> &node_rels, const AnfNodePtr &node) { in IsNoInputsNode()
164 bool IsNoOutputsNode(const OrderedMap<AnfNodePtr, NodeRelation> &node_rels, const AnfNodePtr &node)… in IsNoOutputsNode()
171 void ProcessLocalStructure(OrderedMap<AnfNodePtr, NodeRelation> *node_rels, std::set<AnfNodePtr> *v… in ProcessLocalStructure()
228 …const OrderedMap<AnfNodePtr, NodeRelation> &node_rels, const std::set<AnfNodePtr> &virtual_noout_n… in GetInterestNodeIds()
[all …]
Dparallel_fusion.h116 OrderedMap<AnfNodePtr, NodeRelation> GenAnalysisGraph(const AnfNodePtrList &nodes);
117 …std::vector<std::vector<AnfNodePtrList>> SearchParallelGroups(const OrderedMap<AnfNodePtr, NodeRel…
/third_party/boost/libs/intrusive/example/
Ddoc_map.cpp44 typedef set< MyClass, key_of_value<first_int_is_key> > OrderedMap; typedef
49 BOOST_STATIC_ASSERT((boost::is_same< OrderedMap::key_type, int>::value)); in main()
58 OrderedMap omap(values.begin(), values.end()); in main()
/third_party/typescript/tests/cases/compiler/
DcomplexRecursiveCollections.ts134 export module OrderedMap {
135 function isOrderedMap(maybeOrderedMap: any): maybeOrderedMap is OrderedMap<any, any>;
137 export function OrderedMap<K, V>(collection: Iterable<[K, V]>): OrderedMap<K, V>;
138 export function OrderedMap<T>(collection: Iterable<Iterable<T>>): OrderedMap<T, T>;
139 export function OrderedMap<V>(obj: {[key: string]: V}): OrderedMap<string, V>;
140 export function OrderedMap<K, V>(): OrderedMap<K, V>; function
141 export function OrderedMap(): OrderedMap<any, any>;
142 export interface OrderedMap<K, V> extends Map<K, V> {
144 concat<KC, VC>(...collections: Array<Iterable<[KC, VC]>>): OrderedMap<K | KC, V | VC>;
145 concat<C>(...collections: Array<{[key: string]: C}>): OrderedMap<K | string, V | C>;
[all …]
/third_party/mindspore/mindspore/core/ir/
Dmanager.h81 using FuncGraphToFuncGraphSetMap = OrderedMap<FuncGraphPtr, FuncGraphSet>;
116 OrderedMap<FuncGraphPtr, bool> func_graphs_validate_;
143 using FuncGraphToFuncGraphMap = OrderedMap<FuncGraphPtr, FuncGraphPtr>;
199 using FVTotalMap = OrderedMap<FuncGraphPtr, OrderedMap<BaseRef, int, BaseRefHash>>;
235 using FuncGraphToBoolMap = OrderedMap<FuncGraphPtr, bool>;
236 using RecursiveMap = OrderedMap<FuncGraphPtr, std::shared_ptr<std::list<FuncGraphPtr>>>;
Dfunc_graph.h44 using BaseRefCounterMap = OrderedMap<BaseRef, int, BaseRefHash>;
45 using FuncGraphCounterMap = OrderedMap<FuncGraphPtr, int>;
74 using CounterOrderedMap = OrderedMap<ValueT, int, CounterHash, CounterEqual>;
78 using FuncGraphMap = OrderedMap<FuncGraphPtr, int>;
Dmanager.cc944 fv_total_analysis_[fg] = OrderedMap<BaseRef, int, BaseRefHash>(); in RealRecompute()
/third_party/mindspore/mindspore/ccsrc/debug/
Danf_ir_dump.cc121 OrderedMap<AnfNodePtr, int32_t> local_var_map;
177 int32_t DumpParams(const FuncGraphPtr &graph, std::ostringstream &buffer, OrderedMap<AnfNodePtr, in… in DumpParams()
248 void DumpOperands(const AnfNodePtr &nd, OrderedMap<AnfNodePtr, int32_t> *para_map, in DumpOperands()
405 void DumpCNode(const CNodePtr &nd, const FuncGraphPtr &sub_graph, OrderedMap<AnfNodePtr, int32_t> *… in DumpCNode()
482 void DumpIRInSubgraph(const std::vector<AnfNodePtr> &nodes, OrderedMap<AnfNodePtr, int32_t> *para_m… in DumpIRInSubgraph()
483OrderedMap<FuncGraphPtr, std::shared_ptr<SubGraphIRInfo>> *const sub_graphs, int32_t total_para, in DumpIRInSubgraph()
520 void DumpSubgraph(const OrderedMap<FuncGraphPtr, std::shared_ptr<SubGraphIRInfo>> *sub_graphs, in DumpSubgraph()
521 … const FuncGraphPtr &graph, OrderedMap<AnfNodePtr, int32_t> *para_map, std::ofstream &fout) { in DumpSubgraph()
604 OrderedMap<AnfNodePtr, int32_t> para_map; in DumpIR()
609 OrderedMap<FuncGraphPtr, std::shared_ptr<SubGraphIRInfo>> sub_graphs; in DumpIR()
[all …]
Danf_ir_utils.h93 OrderedMap<AnfNodePtr, int, ParamPtrHasher, ParamPtrEqual> *param_map);
104 OrderedMap<FuncGraphPtr, OrderedMap<AnfNodePtr, int, ParamPtrHasher, ParamPtrEqual>> exported;
Ddraw.cc62 void DrawNodes(const std::vector<AnfNodePtr> &nodes, OrderedMap<FuncGraphPtr, std::shared_ptr<BaseD… in DrawNodes()
88 OrderedMap<FuncGraphPtr, std::shared_ptr<BaseDigraph>> *sub_graphs) { in DrawValueNodes()
154 OrderedMap<FuncGraphPtr, std::shared_ptr<BaseDigraph>> sub_graphs; in DrawByOpt()
Danf_ir_utils.cc422OrderedMap<AnfNodePtr, int, ParamPtrHasher, ParamPtrEqual> *param_map) { in OutputParameters()
579 OrderedMap<AnfNodePtr, int, ParamPtrHasher, ParamPtrEqual> param_map; in ExportOneFuncGraph()
/third_party/typescript/tests/baselines/reference/
DcomplexRecursiveCollections.js134 export module OrderedMap {
135 function isOrderedMap(maybeOrderedMap: any): maybeOrderedMap is OrderedMap<any, any>;
137 export function OrderedMap<K, V>(collection: Iterable<[K, V]>): OrderedMap<K, V>;
138 export function OrderedMap<T>(collection: Iterable<Iterable<T>>): OrderedMap<T, T>;
139 export function OrderedMap<V>(obj: {[key: string]: V}): OrderedMap<string, V>;
140 export function OrderedMap<K, V>(): OrderedMap<K, V>;
141 export function OrderedMap(): OrderedMap<any, any>;
142 export interface OrderedMap<K, V> extends Map<K, V> {
144 concat<KC, VC>(...collections: Array<Iterable<[KC, VC]>>): OrderedMap<K | KC, V | VC>;
145 concat<C>(...collections: Array<{[key: string]: C}>): OrderedMap<K | string, V | C>;
[all …]
DcomplexRecursiveCollections.errors.txt146 export module OrderedMap {
147 function isOrderedMap(maybeOrderedMap: any): maybeOrderedMap is OrderedMap<any, any>;
149 export function OrderedMap<K, V>(collection: Iterable<[K, V]>): OrderedMap<K, V>;
150 export function OrderedMap<T>(collection: Iterable<Iterable<T>>): OrderedMap<T, T>;
151 export function OrderedMap<V>(obj: {[key: string]: V}): OrderedMap<string, V>;
152 export function OrderedMap<K, V>(): OrderedMap<K, V>;
153 export function OrderedMap(): OrderedMap<any, any>;
154 export interface OrderedMap<K, V> extends Map<K, V> {
156 concat<KC, VC>(...collections: Array<Iterable<[KC, VC]>>): OrderedMap<K | KC, V | VC>;
157 concat<C>(...collections: Array<{[key: string]: C}>): OrderedMap<K | string, V | C>;
[all …]
DcomplexRecursiveCollections.types553 export module OrderedMap {
554 >OrderedMap : typeof OrderedMap
556 function isOrderedMap(maybeOrderedMap: any): maybeOrderedMap is OrderedMap<any, any>;
557 >isOrderedMap : (maybeOrderedMap: any) => maybeOrderedMap is OrderedMap<any, any>
560 export function OrderedMap<K, V>(collection: Iterable<[K, V]>): OrderedMap<K, V>;
561 >OrderedMap : typeof OrderedMap
564 export function OrderedMap<T>(collection: Iterable<Iterable<T>>): OrderedMap<T, T>;
565 >OrderedMap : typeof OrderedMap
568 export function OrderedMap<V>(obj: {[key: string]: V}): OrderedMap<string, V>;
569 >OrderedMap : typeof OrderedMap
[all …]
DcomplexRecursiveCollections.symbols916 export module OrderedMap {
917 >OrderedMap : Symbol(OrderedMap, Decl(immutable.ts, 111, 3), Decl(immutable.ts, 112, 83), Decl(immu…
919 function isOrderedMap(maybeOrderedMap: any): maybeOrderedMap is OrderedMap<any, any>;
923 >OrderedMap : Symbol(OrderedMap, Decl(immutable.ts, 111, 3), Decl(immutable.ts, 112, 83), Decl(immu…
925 export function OrderedMap<K, V>(collection: Iterable<[K, V]>): OrderedMap<K, V>;
926 >OrderedMap : Symbol(OrderedMap, Decl(immutable.ts, 111, 3), Decl(immutable.ts, 112, 83), Decl(immu…
933 >OrderedMap : Symbol(OrderedMap, Decl(immutable.ts, 111, 3), Decl(immutable.ts, 112, 83), Decl(immu…
937 export function OrderedMap<T>(collection: Iterable<Iterable<T>>): OrderedMap<T, T>;
938 >OrderedMap : Symbol(OrderedMap, Decl(immutable.ts, 111, 3), Decl(immutable.ts, 112, 83), Decl(immu…
944 >OrderedMap : Symbol(OrderedMap, Decl(immutable.ts, 111, 3), Decl(immutable.ts, 112, 83), Decl(immu…
[all …]
/third_party/mindspore/tests/ut/cpp/utils/
Dorderedset_test.cc165 OrderedMap<int, int> m; in TEST_F()
168 OrderedMap<int, int> m1; in TEST_F()
/third_party/mindspore/mindspore/ccsrc/pipeline/pynative/
Dpynative_execute.h53 OrderedMap<std::string, ParameterPtr> params; // hold input parameters and cell weights
101 OrderedMap<FuncGraphPtr, GraphInfoPtr> &graph_info_map() { return graph_info_map_; } in graph_info_map()
136 OrderedMap<FuncGraphPtr, GraphInfoPtr> graph_info_map_;
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/
Dkpynative.cc287 OrderedMap<AnfNodePtr, PynativeAdjointPtr> anfnode_to_adjoin_;
300 OrderedMap<AnfNodePtr, PynativeAdjointPtr>::reverse_iterator GetLastNodeReverseIter();
822 OrderedMap<AnfNodePtr, PynativeAdjointPtr>::reverse_iterator KPynativeCellImpl::GetLastNodeReverseI… in GetLastNodeReverseIter()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/
Dauto_monad.cc39 using RefInputs = OrderedMap<AnfNodePtr, std::vector<size_t>>;
/third_party/mindspore/mindspore/ccsrc/backend/session/
Dascend_auto_monad.cc363 OrderedMap<KernelGraphPtr, CallInfo> call_info_map;