apex
apex copied to clipboard
Use a modern tensor constructor in cudnn_gbn
https://github.com/NVIDIA/apex/blob/30a7ad3974b32f7ce68cefabc38374fb4520a35e/apex/contrib/cudnn_gbn/batch_norm.py#L90-L91