MCPcopy Create free account
hub / github.com/Relento/lego_release / replicate

Method replicate

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

Source from the content-addressed store, hash-verified

72 return self.gather(outputs, self.output_device)
73
74 def replicate(self, module, device_ids):
75 return replicate(module, device_ids)
76
77 def scatter(self, inputs, kwargs, device_ids, chunk_sizes):
78 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