facebookresearch / fairseq

Facebook AI Research Sequence-to-Sequence Toolkit written in Python.
MIT License
30.57k stars 6.41k forks source link

replaced depracated np.float with np.float64 #5523

Open surprisedPikachu007 opened 4 months ago

surprisedPikachu007 commented 4 months ago

Before submitting

What does this PR do?

Fixes the deprecated usage of np.float by replacing it with np.float64. Issue discussed in #4945

PR review

Anyone in the community is free to review the PR once the tests have passed. If we didn't discuss your PR in Github issues there's a high chance it will not be merged.

Did you have fun?

Make sure you had fun coding 🙃