Unverified Commit 011eedfb authored by vfdev's avatar vfdev Committed by GitHub
Browse files

Removed tests executing deprecated F_t.center/five/ten_crop methods (#4479)

Description:
- Removed tests executing deprecated F_t.center/five/ten_crop methods
- Suppressed deprecation warnings while running test/test_functional_tensor.py
parent 92524362
......@@ -934,8 +934,7 @@ def test_resized_crop(device, mode):
(F_t.hflip, ()), (F_t.crop, (1, 2, 4, 5)),
(F_t.adjust_brightness, (0., )), (F_t.adjust_contrast, (1., )),
(F_t.adjust_hue, (-0.5, )), (F_t.adjust_saturation, (2., )),
(F_t.center_crop, ([10, 11], )), (F_t.five_crop, ([10, 11], )),
(F_t.ten_crop, ([10, 11], )), (F_t.pad, ([2, ], 2, "constant")),
(F_t.pad, ([2, ], 2, "constant")),
(F_t.resize, ([10, 11], )), (F_t.perspective, ([0.2, ])),
(F_t.gaussian_blur, ((2, 2), (0.7, 0.5))),
(F_t.invert, ()), (F_t.posterize, (0, )),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment