I have to built mxnet locally on my M1 machine and then installed. But when I import the lib it threw AttributeError error with message module 'numpy' has no attribute 'bool'. This PR is a fix for the deprecation issue.
Description
Remove type onp.bool as np.bool was a deprecated alias for the builtin bool with numpy version 1.20.
Checklist
Essentials
Changes
Comments
- If this change is a backward incompatible change, why must this change be made.
- Interesting edge cases to note here
Originally posted by @abdullahselek in apache/mxnet#21213