 [FBcode->GH] Fix missing kernel guards (#4620) (#4743)
 [FBcode->GH] Fix missing kernel guards (#4620) (#4743)

Summary:
Pull Request resolved: https://github.com/pytorch/vision/pull/4620

Pull Request resolved: https://github.com/pytorch/nestedtensor/pull/455

Fixes missing kernel guards as identified by D30072495

Reviewed By: jingsh, xush6528

Differential Revision: D31553158

fbshipit-source-id: 80de017ba2ddc52e2a684df9b3eae5de84ed49f4

Co-authored-by: Richard Barnes <2a8fbe76c71fef8e8ad6e9617b9d471f1175e22b@fb.com>
pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision