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.