• vfdev's avatar
    Fixes F.affine and F.rotate to support rectangular tensor images (#2553) · 025b71d8
    vfdev authored
    * Added code for F_t.rotate with test
    - updated F.affine tests
    
    * Rotate test tolerance to 2%
    
    * Fixes failing test
    
    * Optimized _expanded_affine_grid with a single matmul op
    
    * Recoded _compute_output_size
    
    * [WIP] recoded F_t.rotate internal methods
    
    * [WIP] Fixed F.affine to support rectangular images
    
    * Recoded _gen_affine_grid to optimized version ~ affine_grid
    - Fixes flake8
    
    * [WIP] Use _gen_affine_grid for affine and rotate
    
    * Fixed tests on square / rectangular images for affine and rotate ops
    
    * Removed redefinition of F.rotate
    - due to bad merge
    025b71d8
test_functional_tensor.py 26.7 KB