Home
last modified time | relevance | path

Searched refs:node_itr (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/tests/ut/cpp/dataset/
Dgnn_graph_test.cc53 for (auto node_itr = neighbors->begin<NodeIdType>(); node_itr != neighbors->end<NodeIdType>(); in ParsingNeighbors() local
54 ++node_itr, ++index) { in ParsingNeighbors()
56 src_node = *node_itr; in ParsingNeighbors()
61 node_neighbors[src_node] = {{*node_itr, 1}}; in ParsingNeighbors()
63 auto nei_itr = src_node_itr->second.find(*node_itr); in ParsingNeighbors()
65 src_node_itr->second[*node_itr] = 1; in ParsingNeighbors()
67 src_node_itr->second[*node_itr] += 1; in ParsingNeighbors()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/gnn/
Dgraph_data_impl.cc419 …for (auto node_itr = nodes->begin<NodeIdType>(); node_itr != nodes->end<NodeIdType>(); ++node_itr)… in GetNodeFeature() local
421 if (*node_itr == kDefaultNodeId) { in GetNodeFeature()
426 … if (!GetNodeByNodeId(*node_itr, &node).IsOk() || !node->GetFeatures(f_type, &feature).IsOk()) { in GetNodeFeature()
457 …for (auto node_itr = nodes->begin<NodeIdType>(); node_itr != nodes->end<NodeIdType>(); ++node_itr)… in GetNodeFeatureSharedMemory() local
458 if (*node_itr == kDefaultNodeId) { in GetNodeFeatureSharedMemory()
465 RETURN_IF_NOT_OK(GetNodeByNodeId(*node_itr, &node)); in GetNodeFeatureSharedMemory()
Dgraph_data_client.cc415 …for (auto node_itr = nodes->begin<NodeIdType>(); node_itr != nodes->end<NodeIdType>(); ++node_itr)… in ParseNodeFeatureFromMemory() local
420 if (*node_itr == kDefaultNodeId || offset < 0 || len <= 0) { in ParseNodeFeatureFromMemory()
/third_party/mindspore/mindspore/core/ir/
Dfunc_graph_extends.cc159 …auto node_itr = std::find(specialized_parameter_list->begin(), specialized_parameter_list->end(), … in GenerateKwParams() local
161 …if (node_itr != specialized_parameter_list->end() && kwarg_nodes.find(param_node) == kwarg_nodes.e… in GenerateKwParams()
213 …auto node_itr = std::find(specialized_parameter_list.begin(), specialized_parameter_list.end(), pa… in GenerateDefaultValue() local
214 if (node_itr != specialized_parameter_list.end()) { in GenerateDefaultValue()