parameters: (self)
return_statement: return self._thread_local_data.device_spec
docstring: Returns the device spec for the current thread.
docstring_summary: Returns the device spec for the current thread.
docstring_tokens: Returns the device spec for the current thread .
function: def device_spec(self):
      """Returns the device spec for the current thread."""
      return self._thread_local_data.device_spec
function_tokens: def device_spec ( self ) : return self . _thread_local_data . device_spec