I am using a pre-trained Model. Firstly, I trained the Model in python which came with 94% accuracy. Now, I am trying to reproduce the same results with same configuration of the model in R, but it is giving terrible results and not crossing the accuracy of 83%.
There is a difference in the data type of both languages with which I train the model: R uses data type Double while Python uses data type float32.
The second key difference is, I was running Python Notebook on GPU and TPU but the Notebook in R running on CPU because of Kaggle GPU memory issue.
Do the above-mentioned differences cause performance gaps? If not, then what could be the problem?