torch.manual_seed(191009)
train_dataset = datasets.CIFAR10(root=dataset_dir, train=True, transform=train_transform, download=True)
test_dataset = datasets.CIFAR10(root=dataset_dir, train=False, transform=test_transform, download=True)
trainloader = DataLoader(train_dataset, batch_size=batch_size, num_workers=NUM_WORKERS,
                                          pin_memory=True, shuffle=False)
testloader = DataLoader(test_dataset, batch_size=batch_size, num_workers=NUM_WORKERS,
                                         pin_memory=True, shuffle=False)

if batch_size is modified, the accuracy after quantization will change，no modification, the accuracy rate will not change.
Why the accuracy becomes higher after quantization?