ptrblck:

In Encoding you are creating new, randomly initialized, Residual modules inside the forward method, which will cause the difference in the outputs.


After fixing the Residual issue I trained and ran the model and this time the results are consistent during inference. I appreciate your help. Thank you very much