• Zhengyang Feng's avatar
    Fill color support for tensor affine transforms (#2904) · 21deb4d0
    Zhengyang Feng authored
    
    
    * Fill color support for tensor affine transforms
    
    * PEP fix
    
    * Docstring changes and float support
    
    * Docstring update for transforms and float type cast
    
    * Cast only for Tensor
    
    * Temporary patch for lack of Union type support, plus an extra unit test
    
    * More plausible bilinear filling for tensors
    
    * Keep things simple & New docstrings
    
    * Fix lint and other issues after merge
    
    * make it in one line
    
    * Docstring and some code modifications
    
    * More tests and corresponding changes for transoforms and docstring changes
    
    * Simplify test configs
    
    * Update test_functional_tensor.py
    
    * Update test_functional_tensor.py
    
    * Move assertions
    Co-authored-by: default avatarvfdev <vfdev.5@gmail.com>
    21deb4d0
transforms.py 68.4 KB