def __init__(self, maxlen, vocab_size):
    self.maxlen = maxlen
    self.tokenizer = Tokenizer(num_words=vocab_size)
def __init__(self, maxlen, vocab_size):
    self.maxlen = maxlen
    self.tokenizer = Tokenizer(num_words=vocab_size)