message: Fix the name property for the _UnreadVariable class in eager mode (fixes
diff: @@ -943,9 +943,10 @@ class ResourceVariable(variables.RefVariable):
  if self.trainable:
  tape.watch_variable(self)
  return _UnreadVariable(
  - self._handle, self.dtype, self._shape, self._in_graph_mode,
  - self._handle_deleter if not self._in_graph_mode else None, op,
  - self._unique_id)
  + handle=self._handle, dtype=self.dtype, shape=self._shape,
  + in_graph_mode=self._in_graph_mode,
  + deleter=self._handle_deleter if not self._in_graph_mode else None,
  + parent_op=op, parent_name=self._handle_name, unique_id=self._unique_id)
  def assign(self, value, use_locking=None, name=None, read_value=True):
  """Assigns a new value to this variable.
  @@ -1059,7 +1060,8 @@ class _UnreadVariable(ResourceVariable):
  """
  def __init__(self, handle, dtype, # pylint: disable=super-init-not-called
  - shape, in_graph_mode, deleter, parent_op, unique_id):
  + shape, in_graph_mode, deleter, parent_op, parent_name,
  + unique_id):
  # We do not call super init on purpose.
  self._trainable = False
  self._save_slice_info = None
  @@ -1069,7 +1071,7 @@ class _UnreadVariable(ResourceVariable):
  self._shape = shape
  self._initial_value = None
  if isinstance(self._handle, ops.EagerTensor):
  - self._handle_name = ""
  + self._handle_name = parent_name
  else:
  self._handle_name = self._handle.name
  self._unique_id = unique_id
  @@ -1085,10 +1087,6 @@ class _UnreadVariable(ResourceVariable):
  self._graph_element = self.read_value()
  self._handle_deleter = deleter
  - @property
  - def name(self):
  - return self._parent_op.name
  -
  def value(self):
  return self._read_variable_op()
  