Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastMAS/KVCOMM
/ generate_star_graph
Function
generate_star_graph
experiments/benchmark_TTFT.py:220–224 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
218
return
adj_matrix
219
220
def
generate_star_graph(n):
221
adj_matrix = [[0] * n
for
_ in range(n)]
222
for
i in range(1, n):
223
adj_matrix[0][i] = 1
224
return
adj_matrix
225
226
if
mode ==
"DirectAnswer"
:
227
fixed_spatial_masks = [[0]]
Callers
1
get_kwargs
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected