Large-batch training spreads a minibatch over many workers, each handling a slice. The number of workers needed depends on the global batch and how many examples fit on each worker.
Implement workers_for_batch(batch, per_worker), the number of workers needed to cover the batch.
Divide the batch by the per-worker count and take the ceiling.
No results yet
Run your code to check it against the examples, or submit to run every test.