• vfdev's avatar
    Refactor adjust ops tests (#2595) · 5f616a2b
    vfdev authored
    * [WIP] Unify ops Grayscale and RandomGrayscale
    
    * Unified inputs for grayscale op and transforms
    - deprecated F.to_grayscale in favor of F.rgb_to_grayscale
    
    * Fixes bug with fp input
    
    * Rewritten adjust_* tests
    - split test_adjustments into 3 separate tests
    - unified testing approach with test_adjust_gamma
    
    * Added ColorJitter tests
    
    * Relaxed tolerance for functional adjust-* tests
    
    * Removed wrong merge and commented code
    5f616a2b
test_transforms_tensor.py 14.2 KB