Solved by ptrblck in post #7 
              
              
                If the parameters are equal but the results still differ, your input data is either not the same or your model is applying some random operations (e.g. dropout) which can be disabled via calling model.eval().