Why does GoogLeNet additionally process input via _transform_input?

Was GoogLeNet trained the same way as other torchvision models?

If so why is there additional preprocessing step via _transform_input function?

image

It’s called in forward() before the actual work in _forward() function is executed.