@@ -825,10 +825,10 @@ def test_functional(self, size, make_input):
825825 (F .resize_image , torch .Tensor ),
826826 (F ._geometry ._resize_image_pil , PIL .Image .Image ),
827827 (F .resize_image , tv_tensors .Image ),
828- (F .resize_keypoints , tv_tensors .KeyPoints ),
829828 (F .resize_bounding_boxes , tv_tensors .BoundingBoxes ),
830829 (F .resize_mask , tv_tensors .Mask ),
831830 (F .resize_video , tv_tensors .Video ),
831+ (F .resize_keypoints , tv_tensors .KeyPoints ),
832832 ],
833833 )
834834 def test_functional_signature (self , kernel , input_type ):
@@ -1241,10 +1241,10 @@ def test_functional(self, make_input):
12411241 (F .horizontal_flip_image , torch .Tensor ),
12421242 (F ._geometry ._horizontal_flip_image_pil , PIL .Image .Image ),
12431243 (F .horizontal_flip_image , tv_tensors .Image ),
1244- (F .horizontal_flip_keypoints , tv_tensors .KeyPoints ),
12451244 (F .horizontal_flip_bounding_boxes , tv_tensors .BoundingBoxes ),
12461245 (F .horizontal_flip_mask , tv_tensors .Mask ),
12471246 (F .horizontal_flip_video , tv_tensors .Video ),
1247+ (F .horizontal_flip_keypoints , tv_tensors .KeyPoints ),
12481248 ],
12491249 )
12501250 def test_functional_signature (self , kernel , input_type ):
@@ -1472,10 +1472,10 @@ def test_functional(self, make_input):
14721472 (F .affine_image , torch .Tensor ),
14731473 (F ._geometry ._affine_image_pil , PIL .Image .Image ),
14741474 (F .affine_image , tv_tensors .Image ),
1475- (F .affine_keypoints , tv_tensors .KeyPoints ),
14761475 (F .affine_bounding_boxes , tv_tensors .BoundingBoxes ),
14771476 (F .affine_mask , tv_tensors .Mask ),
14781477 (F .affine_video , tv_tensors .Video ),
1478+ (F .affine_keypoints , tv_tensors .KeyPoints ),
14791479 ],
14801480 )
14811481 def test_functional_signature (self , kernel , input_type ):
@@ -1829,10 +1829,10 @@ def test_functional(self, make_input):
18291829 (F .vertical_flip_image , torch .Tensor ),
18301830 (F ._geometry ._vertical_flip_image_pil , PIL .Image .Image ),
18311831 (F .vertical_flip_image , tv_tensors .Image ),
1832- (F .vertical_flip_keypoints , tv_tensors .KeyPoints ),
18331832 (F .vertical_flip_bounding_boxes , tv_tensors .BoundingBoxes ),
18341833 (F .vertical_flip_mask , tv_tensors .Mask ),
18351834 (F .vertical_flip_video , tv_tensors .Video ),
1835+ (F .vertical_flip_keypoints , tv_tensors .KeyPoints ),
18361836 ],
18371837 )
18381838 def test_functional_signature (self , kernel , input_type ):
@@ -2033,10 +2033,10 @@ def test_functional(self, make_input):
20332033 (F .rotate_image , torch .Tensor ),
20342034 (F ._geometry ._rotate_image_pil , PIL .Image .Image ),
20352035 (F .rotate_image , tv_tensors .Image ),
2036- (F .rotate_keypoints , tv_tensors .KeyPoints ),
20372036 (F .rotate_bounding_boxes , tv_tensors .BoundingBoxes ),
20382037 (F .rotate_mask , tv_tensors .Mask ),
20392038 (F .rotate_video , tv_tensors .Video ),
2039+ (F .rotate_keypoints , tv_tensors .KeyPoints ),
20402040 ],
20412041 )
20422042 def test_functional_signature (self , kernel , input_type ):
@@ -3221,6 +3221,7 @@ def test_functional(self, make_input):
32213221 (F .elastic_bounding_boxes , tv_tensors .BoundingBoxes ),
32223222 (F .elastic_mask , tv_tensors .Mask ),
32233223 (F .elastic_video , tv_tensors .Video ),
3224+ (F .elastic_keypoints , tv_tensors .KeyPoints ),
32243225 ],
32253226 )
32263227 def test_functional_signature (self , kernel , input_type ):
@@ -3354,6 +3355,7 @@ def test_functional(self, make_input):
33543355 (F .crop_bounding_boxes , tv_tensors .BoundingBoxes ),
33553356 (F .crop_mask , tv_tensors .Mask ),
33563357 (F .crop_video , tv_tensors .Video ),
3358+ (F .crop_keypoints , tv_tensors .KeyPoints ),
33573359 ],
33583360 )
33593361 def test_functional_signature (self , kernel , input_type ):
@@ -4236,6 +4238,7 @@ def test_functional(self, make_input):
42364238 (F .resized_crop_bounding_boxes , tv_tensors .BoundingBoxes ),
42374239 (F .resized_crop_mask , tv_tensors .Mask ),
42384240 (F .resized_crop_video , tv_tensors .Video ),
4241+ (F .resized_crop_keypoints , tv_tensors .KeyPoints ),
42394242 ],
42404243 )
42414244 def test_functional_signature (self , kernel , input_type ):
@@ -4626,6 +4629,7 @@ def test_functional(self, make_input):
46264629 (F .center_crop_bounding_boxes , tv_tensors .BoundingBoxes ),
46274630 (F .center_crop_mask , tv_tensors .Mask ),
46284631 (F .center_crop_video , tv_tensors .Video ),
4632+ (F .center_crop_keypoints , tv_tensors .KeyPoints ),
46294633 ],
46304634 )
46314635 def test_functional_signature (self , kernel , input_type ):
@@ -4856,6 +4860,7 @@ def test_functional(self, make_input):
48564860 (F .perspective_bounding_boxes , tv_tensors .BoundingBoxes ),
48574861 (F .perspective_mask , tv_tensors .Mask ),
48584862 (F .perspective_video , tv_tensors .Video ),
4863+ (F .perspective_keypoints , tv_tensors .KeyPoints ),
48594864 ],
48604865 )
48614866 def test_functional_signature (self , kernel , input_type ):
0 commit comments