message: Bypasses warnings in eager mode for converting indexed slices to tensors.
diff: @@ -86,13 +86,15 @@ def _IndexedSlicesToTensor(value, dtype=None, name=None, as_ref=False):
  % str(value))
  # TODO(mrry): Consider adding static shape information to
  # IndexedSlices, to avoid using numpy here.
  + if context.in_graph_mode():
  dense_shape_value = tensor_util.constant_value(value.dense_shape)
  if dense_shape_value is not None:
  num_elements = np.prod(dense_shape_value)
  if num_elements >= _LARGE_SPARSE_NUM_ELEMENTS:
  warnings.warn(
  - "Converting sparse IndexedSlices to a dense Tensor with %d elements. "
  - "This may consume a large amount of memory." % num_elements)
  + "Converting sparse IndexedSlices to a dense Tensor with %d "
  + "elements. This may consume a large amount of memory." %
  + num_elements)
  else:
  warnings.warn(
  "Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
  