Libtorch Pytorch Interpolate Differences

I am getting considerable differences in heatmaps generated by Libtorch torch::nn::functional:: interpolate vs Python torch.nn.functional.interpolate. On C++ I am using kBilinear setting and on Python I using mode=‘bilinear’.
Align corners is set to false for both as well.

Can you post more details? Post a sample code and result will be very helpful, thanks.

I have just learned that it is non-deterministic.