def _prev_index(self, s):
        self.set_index(max(0, self.index - 1))
def _copy_vars(v_list):
  """Copy variables in v_list."""
  t_list = []
  for v in v_list:
    t_list.append(tf.identity(v))
  return t_list