Solved by ynjiun_wang in post #2 
              
              
                change 
torch.quantization.fuse_modules(basic_block, [["Conv2d", "BatchNorm2d", "ReLU"]], inplace=True) 
to 
torch.quantization.fuse_modules(basic_block, [["0", "1", "2"]], inplace=True) 
Then it works.