Hello! I was reading the seq2seq tutorial, wondering how the following line of code works:
encoder_output, encoder_hidden = encoder(input_tensor[ei], encoder_hidden)

As I understand, encoder is a instance of class EncoderRNN, I thought the method here to call is forward in EncoderRNN, then why not call it as:
encoder_output, encoder_hidden = encoder.forward(input_tensor[ei], encoder_hidden)