Avoid an API break in CuPy by using the numpy typing system directly. Cupy's typing module is basically an alias for NumPy's module, but non-public changes have broken compatability.
Approach
Pre-Merge Checklists
Submitter
[ ] Write a helpfully descriptive pull request title.
[ ] Organize changes into logically grouped commits with descriptive commit messages.
[ ] Document all new functions.
[ ] Click 'details' on the readthedocs check to view the updated docs.
[ ] Write tests for new functions or explain why they are not needed.
[ ] Address any complaints from pep8speaks.
Reviewer
[ ] Actually read all of the code.
[ ] Run the new code yourself; the included tests should make this easy.
[ ] Write a summary of the changes as you understand them.
Purpose
Avoid an API break in CuPy by using the numpy typing system directly. Cupy's typing module is basically an alias for NumPy's module, but non-public changes have broken compatability.
Approach
Pre-Merge Checklists
Submitter
Reviewer