parameters: (self)
return_statement: return self._device
docstring: Returns the local device on the remote worker.
docstring_summary: Returns the local device on the remote worker.
docstring_tokens: Returns the local device on the remote worker .
function: def device(self) -> torch.device:
          """
          Returns the local device on the remote worker.
          """
          return self._device
function_tokens: def device ( self ) -> torch . device : return self . _device