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

Function check_node_attrs

graphlearn/python/tests/utils.py:226–230  ·  view source on GitHub ↗
(nodes)

Source from the content-addressed store, hash-verified

224
225
226def check_node_attrs(nodes):
227 size = nodes.ids.size
228 check_i_attrs(nodes.int_attrs, nodes.ids)
229 check_f_attrs(nodes.float_attrs, nodes.ids)
230 check_s_attrs(nodes.string_attrs, nodes.ids)
231
232def check_i_attrs(i_attrs, ids):
233 for i, value in zip(range(ids.size), ids):

Callers

nothing calls this directly

Calls 3

check_i_attrsFunction · 0.85
check_f_attrsFunction · 0.85
check_s_attrsFunction · 0.85

Tested by

no test coverage detected