MCPcopy Create free account
hub / github.com/Duankaiwen/CenterNet / replicate

Method replicate

models/py_utils/data_parallel.py:73–74  ·  view source on GitHub ↗
(self, module, device_ids)

Source from the content-addressed store, hash-verified

71 return self.gather(outputs, self.output_device)
72
73 def replicate(self, module, device_ids):
74 return replicate(module, device_ids)
75
76 def scatter(self, inputs, kwargs, device_ids, chunk_sizes):
77 return scatter_kwargs(inputs, kwargs, device_ids, dim=self.dim, chunk_sizes=self.chunk_sizes)

Callers 1

forwardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected