]
above graph is what I want to implement
i want to build a autoencoder structure top on LM, then use the hidden for training classifier.
so two loss function, pytorch mean square error (MSE) and normal cross-entropy, and there plus are needed to defined.
- i could not find definition of loss function in get_rnn_classifier and PoolingLinearClassifier , anyone can told me where should i write the loss_mse + loss_cros ?