message: Fix sparse_to_dense deprecation warning.
diff: @@ -6054,7 +6054,7 @@ def ctc_decode(y_pred, input_length, greedy=True, beam_width=100, top_paths=1):
  the log probability of each decoded sequence.
  """
  input_shape = shape(y_pred)
  - samples, steps = input_shape[0], input_shape[1]
  + num_samples, num_steps = input_shape[0], input_shape[1]
  y_pred = math_ops.log(array_ops.transpose(y_pred, perm=[1, 0, 2]) + epsilon())
  input_length = math_ops.cast(input_length, dtypes_module.int32)
  @@ -6067,11 +6067,12 @@ def ctc_decode(y_pred, input_length, greedy=True, beam_width=100, top_paths=1):
  sequence_length=input_length,
  beam_width=beam_width,
  top_paths=top_paths)
  - decoded_dense = [
  - sparse_ops.sparse_to_dense(
  - st.indices, (samples, steps), st.values, default_value=-1)
  - for st in decoded
  - ]
  + decoded_dense = []
  + for st in decoded:
  + st = sparse_tensor.SparseTensor(
  + st.indices, st.values, (num_samples, num_steps))
  + decoded_dense.append(
  + sparse_ops.sparse_tensor_to_dense(sp_input=st, default_value=-1))
  return (decoded_dense, log_prob)
  