Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tkipf/gcn
/ parse_index_file
Function
parse_index_file
gcn/utils.py:9–14 ·
view source on GitHub ↗
Parse index file.
(filename)
Source
from the content-addressed store, hash-verified
7
8
9
def
parse_index_file(filename):
10
""
"Parse index file."
""
11
index = []
12
for
line in open(filename):
13
index.append(int(line.strip()))
14
return
index
15
16
17
def
sample_mask(idx, l):
Callers
1
load_data
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected