Added NoGradGuard then same CUDA result is different.
torch::NoGradGuard no_grad_guard;

My forward code:
	if (isCUDA) {
		output = module.forward({ tensor_image.to(torch::kCUDA)});
	}
	else {
		output = module.forward({ tensor_image });
	}