Different sized images using the same network