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

Function batch_data

models/utils/model_utils.py:7–26  ·  view source on GitHub ↗

data is a dict := {'x': [numpy array], 'y': [numpy array]} (on one client) returns x, y, which are both numpy array of length: batch_size

(data, batch_size, seed)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

run_epochMethod · 0.90
_run_epochMethod · 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…