I mistake the pointer in C++, the real accuray is 79.8%, which is same as 82.05% when i uese the code:
output = scripted_model(torch.from_numpy(input_data).cuda())

to do the infrence. However, the those accuracy is lower than 96.7%  when is ues the pytorch code to do the inference.