gelu_fast -> gelu_accurate (#571)
Summary: This was named gelu_fast after the original implementation: https://github.com/hendrycks/GELUs/blob/master/mnist_ae.py#L62-L63 But in practice it's actually slower and uses more memory. Rename to gelu_accurate. Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/571 Differential Revision: D15317874 Pulled By: myleott fbshipit-source-id: c96fbc89bf91b27ced1ab8d5b25a8f23f922ec24
Showing
Please register or sign in to comment