MCPcopy Create free account
hub / github.com/Tencent/embedx / __has_feature

Method __has_feature

demo/data/scripts/embedx_graph.py:211–219  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

209 test_label_f.write("\n")
210
211 def __has_feature(self):
212 flag = None
213 for node in self.next_node():
214 if flag is None:
215 flag = node.has_feature()
216 else:
217 tmp_flag = node.has_feature()
218 assert flag == tmp_flag
219 return flag
220
221
222class EmbedxGraphGenerator:

Callers 1

__init__Method · 0.95

Calls 2

next_nodeMethod · 0.95
has_featureMethod · 0.80

Tested by

no test coverage detected