def __init__(self):
    super(pointer_atten, self).__init__()
    self.layer1 = Encoder(input_size=input_size, hidden_size=hidden_size, batch_size=batch_size, bidirectional=True)
    self.layer2 = AttentionDecoder(hidden_size=(hidden_size * (1 + bidirectional)), output_size=output_size, batch_size=batch_size, vocab_size=vocal_size, seq_len=1)
def __init__(self):
    super(pointer_atten, self).__init__()
    self.layer1 = Encoder(input_size=input_size, hidden_size=hidden_size, batch_size=batch_size, bidirectional=True)
    self.layer2 = AttentionDecoder(hidden_size=(hidden_size * (1 + bidirectional)), output_size=output_size, batch_size=batch_size, vocab_size=vocal_size, seq_len=1)