ns for fx: fix shadow logger error for resnet18 (#60559)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/60559
Adds `resnet18` to integration test, and fixes the error to
make creating the shadow model work.
Test Plan:
```
python test/test_quantization.py TestFXNumericSuiteCoreAPIsModels.test_resnet18
```
Imported from OSS
Reviewed By: jerryzh168
Differential Revision: D29336236
fbshipit-source-id: 9425aa096162d80ef3a7c98144b2301cfbccc1ea