(self, replicas: Sequence[T], inputs: Sequence[Any], kwargs: Any)
| 197 | return scatter_kwargs(inputs, kwargs, device_ids, dim=self.dim) |
| 198 | |
| 199 | def parallel_apply(self, replicas: Sequence[T], inputs: Sequence[Any], kwargs: Any) -> List[Any]: |
| 200 | return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)]) |
| 201 | |
| 202 | def gather(self, outputs: Any, output_device: Union[int, torch.device]) -> Any: |
| 203 | return gather(outputs, output_device, dim=self.dim) |