MCPcopy Create free account
hub / github.com/NVIDIA/semantic-segmentation / parallel_apply

Method parallel_apply

utils/my_data_parallel.py:198–199  ·  view source on GitHub ↗
(self, replicas, inputs, kwargs)

Source from the content-addressed store, hash-verified

196 return scatter_kwargs(inputs, kwargs, device_ids, dim=self.dim)
197
198 def parallel_apply(self, replicas, inputs, kwargs):
199 return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])
200
201 def gather(self, outputs, output_device):
202 return gather(outputs, output_device, dim=self.dim)

Callers 1

forwardMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected