• Loi Ly's avatar
    Added gray image support to `adjust_saturation` function (#4480) · f483e71b
    Loi Ly authored
    * update channels parameter to every calling to check_functional_vs_PIL_vs_scripted
    
    * update adjust_saturation
    
    * update docstrings for functional transformations
    
    * parametrize channels
    
    * update docstring of ColorJitter class
    
    * move channels to class's parameter
    
    * remove testing channels for geometric transforms
    
    * revert redundant changes
    
    * revert redundant changes
    
    * update grayscale test cases for randaugment, autoaugment, trivialaugment
    
    * update docstrings of randaugment, autoaugment, trivialaugment
    
    * update docstring of ColorJitter
    
    * fix adjust_hue's docstring
    
    * change test equal tolerance
    
    * refactor grayscale tests
    
    * make get_grayscale_test_image private
    f483e71b
test_transforms.py 82.1 KB