MCPcopy Create free account
hub / github.com/FastMAS/KVCOMM / generate_star_graph

Function generate_star_graph

experiments/run_mmlu.py:176–180  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

174 return adj_matrix
175
176 def generate_star_graph(n):
177 adj_matrix = [[0] * n for _ in range(n)]
178 for i in range(1, n):
179 adj_matrix[0][i] = 1
180 return adj_matrix
181
182 if mode == "DirectAnswer":
183 fixed_spatial_masks = [[0]]

Callers 1

get_kwargsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected