Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: numpy.bool is long deprecated and removed starting numpy-1.20.0 [1]. This replaces all references with equivalent `bool` type using the following oneliner: ``` rg '\bnp\.bool\b' -lg '.py' fbcode | xargs perl -pi -e 's,\bnp\.bool\b,bool,' ``` Selected some changes and applied arc lint. 1. https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations Reviewed By: florazzz Differential Revision: D50476847 fbshipit-source-id: 2d96df95b5af5f09aae0b33583f4613105cd10d6
- Loading branch information