• Wenwei Zhang's avatar
    [Feature]: Support empty tensor in MMSyncBN (#1205) · 4e101e0b
    Wenwei Zhang authored
    * [Feature]: support empty tensor in MMSyncBN
    
    * refine code
    
    * resolve comments
    
    * clean unnecessary comments
    
    * fix inaccurate statistics when empty tensor
    
    * resolve comments and add docstrings
    
    * update unit tests
    
    * rephrase, ready for merge
    4e101e0b
test_syncbn.py 9.43 KB