MCPcopy Create free account
hub / github.com/TalwalkarLab/leaf / iid_divide

Function iid_divide

data/utils/util.py:14–31  ·  view source on GitHub ↗

divide list l among g groups each group has either int(len(l)/g) or int(len(l)/g)+1 elements returns a list of groups

(l, g)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

sample.pyFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…