MCPcopy Index your code
hub / github.com/MoonInTheRiver/DiffSinger / parallel_apply

Method parallel_apply

utils/pl_utils.py:184–185  ·  view source on GitHub ↗
(self, replicas, inputs, kwargs)

Source from the content-addressed store, hash-verified

182 """
183
184 def parallel_apply(self, replicas, inputs, kwargs):
185 return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])
186
187 def forward(self, *inputs, **kwargs): # pragma: no cover
188 self._sync_params()

Callers 1

forwardMethod · 0.95

Calls 1

parallel_applyFunction · 0.85

Tested by

no test coverage detected