Added type hints to ResNetForImageClassification
Based on Issue #16059.

While looking into Issue #16059, I found that the `ResNetForImageClassification` model's type hints are inconsistent with the [docs](https://huggingface.co/docs/transformers/model_doc/resnet#transformers.ResNetForImageClassification.forward). Modified it to be consistent with the docs.

@Rocketknight1 Could you kindly check if this is fine?

This is my First PR for the Transformers library. Thanks in advance.

_The documentation is not available anymore as the PR was closed or merged._<|||||>Thanks @Rocketknight1.