This is my PyTorch result of the first 10 value.
tensor([-1.3709, -0.8062, 1.9198, 0.4937, -2.9625, 1.2369, -0.3699, -0.1852, 4.9301, 4.0436], grad_fn=<SliceBackward>)
This is my LibTorch(C++) result of the fisrt 10 value.
-1.3711 -0.8062 1.9193 0.4921 -2.9617 1.2358 -0.3710 -0.1846 4.9292 4.0416 [ Variable[CUDAFloatType]{1,10} ]
I test between two realization of my codes. And the only difference is the LANGUAGE I USE. The direct input of the model is the same!
Can someone explain that?