MCPcopy Create free account
hub / github.com/FreeformRobotics/OTS / gather

Method gather

lib/nn/parallel/data_parallel.py:49–50  ·  view source on GitHub ↗
(self, outputs, output_device)

Source from the content-addressed store, hash-verified

47
48class DictGatherDataParallel(nn.DataParallel):
49 def gather(self, outputs, output_device):
50 return dict_gather(outputs, output_device, dim=self.dim)
51
52
53class UserScatteredDataParallel(DictGatherDataParallel):

Callers

nothing calls this directly

Calls 1

dict_gatherFunction · 0.85

Tested by

no test coverage detected