Allow passing list to the input argument 'scale' of RandomResizedCrop (#1997) (#2008)
Allow passing list to the input argument 'scale' of RandomResizedCrop (#1997) (#2008)

Summary:
Currently the scale argument can only be of type tuple or integer, this diff allows feeding the input argument `scale` with a list.
Pull Request resolved: https://github.com/pytorch/vision/pull/1997

Test Plan:
Without this diff, launching the following classy vision task causes error:
https://our.intern.facebook.com/intern/fblearner/details/175876950/

With this diff, everything works fine:
https://our.intern.facebook.com/intern/fblearner/details/175913768/

Reviewed By: resonatevision

Differential Revision: D20544904

Pulled By: ymao1993

fbshipit-source-id: a95a2e9ceadec77fffe234756fb3b38b1b9c9cb1

Co-authored-by: Yu Mao <290d49d05e23209df58a4ca5eac95ec832b8d8d2@fb.com>
pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision,pytorch/vision