MCPcopy Create free account
hub / github.com/alibaba/graph-learn / search

Method search

graphlearn/python/graph.py:1000–1003  ·  view source on GitHub ↗
(self, node_type, inputs, option)

Source from the content-addressed store, hash-verified

998 graph=self)
999
1000 def search(self, node_type, inputs, option):
1001 knn = ops.KnnOperator(self._client)
1002 inputs = np.array(inputs)
1003 return knn.search(node_type, inputs, option.k)
1004
1005 def subgraph_sampler(self,
1006 seed_type,

Callers 15

SearchMethod · 0.45
SearchMethod · 0.45
SearchMethod · 0.45
SearchMethod · 0.45
SearchMethod · 0.45
SearchMethod · 0.45
mainFunction · 0.45
ProcessGlobalSuppresionsFunction · 0.45
SearchFunction · 0.45
CheckForCopyrightFunction · 0.45
CheckEmptyBlockBodyFunction · 0.45
CheckIncludeLineFunction · 0.45

Calls 1

searchMethod · 0.95

Tested by 1

mainFunction · 0.36