(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)
Set up the attributes that ticker needs to see.
Set up the attributes that ticker needs to see .
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
def __init__ ( self , seq_len_max , repeat_count_max , vec_size ) : 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