parameters: (self)
return_statement: return self._resource_handle
docstring: The ResourceHandle representation of this handle.
docstring_summary: The ResourceHandle representation of this handle.
docstring_tokens: The ResourceHandle representation of this handle .
function: def _get_resource_handle(self):
      """The ResourceHandle representation of this handle."""
      if not self._resource_handle:
        self._resource_handle = resource_handle_pb2.ResourceHandleProto()
        self._resource_handle.device = self._handle.split(";")[-1]
        self._resource_handle.container = (pywrap_tf_session.TENSOR_HANDLE_KEY)
        self._resource_handle.name = self._handle
      return self._resource_handle
function_tokens: def _get_resource_handle ( self ) : if not self . _resource_handle : self . _resource_handle = resource_handle_pb2 . ResourceHandleProto ( ) self . _resource_handle . device = self . _handle . split ( ";" ) [ - 1 ] self . _resource_handle . container = ( pywrap_tf_session . TENSOR_HANDLE_KEY ) self . _resource_handle . name = self . _handle return self . _resource_handle