No, quite likely there is something else amiss.
Calling self.eval() in the forward is likely not the ideal way of doing things, either. But to say something about a better way, it would be good if you could share what should happen that led you to do that.
Best regards
Thomas