Solved by ptrblck in post #6 
              
              
                Since this attribute is set to True in your example, the input will be transformed. 
Using it also yields the same results: 
x = torch.randn(10, 3, 224, 224)
glnet = models.googlenet(pretrained=True)
glnet.eval()
res = glnet(x)

out = x
if glnet.transform_input:
    out = glnet._transform_input(out…