No, the evaluate method just prints the predictions and the target so that you could manually compare these.
To calculate the loss, you would have to compute it with the criterion (as done during training):
loss += criterion(decoder_output, target_tensor[di])

However, if you don’t have the targets, you won’t be able to calculate the loss and would have to output the predictions only.