class_docstr: Repeat Copy task from the Neural Turing Machines paper:
      http://arxiv.org/abs/1410.5401.
  
  See Also:
      See comments on :py:class:`~neon.data.ticker.CopyTask` class for more details.
docstr: Set up the attributes that ticker needs to see.
  
  Arguments:
      seq_len_max (int): Longest allowable sequence length
      repeat_count_max (int): Max number of repeats
      vec_size (int): Width of the bit-vector to be copied (was 8 in paper)
docstr_tok: ["Set","up","the","attributes","that","ticker","needs","to","see",".","Arguments",":","seq_len_max","(","int",")",":","Longest","allowable","sequence","length","repeat_count_max","(","int",")",":","Max","number","of","repeats","vec_size","(","int",")",":","Width","of","the","bit-vector","to","be","copied","(","was","8","in","paper",")"]
code: def __init__(self, seq_len_max, repeat_count_max, vec_size):
      """
      Set up the attributes that ticker needs to see.
  
      Arguments:
          seq_len_max (int): Longest allowable sequence length
          repeat_count_max (int): Max number of repeats
          vec_size (int): Width of the bit-vector to be copied (was 8 in paper)
      """
  
      self.seq_len_max = seq_len_max
      self.repeat_count_max = seq_len_max
      self.vec_size = vec_size
      self.nout = (
          self.vec_size + 1
      )  # we output the sequence and a stop bit in a stop channel
      self.nin = (
          self.vec_size + 2
      )  # input has more dims (for the start and stop channels)
  
      # seq is seen once as input, repeat_count times as output, with a
      # start bit, stop bit, and output stop bit
      self.time_steps_func = lambda l, r: l * (r + 1) + 3
      self.time_steps_max = self.time_steps_func(
          self.seq_len_max, self.repeat_count_max
      )
      self.max_columns = self.time_steps_max * self.be.bsz
  
imports: import numpy
  from neon import NervanaObject
label_desc: Use image node_id 1 to create a new RepeatCopyTask object from inherited base classes: Task with example: obj = RepeatCopyTask(seq_len_max, repeat_count_max, vec_size)