Open AetherPrior opened 3 years ago
Mxnet's NumPy is being imported as np in the file src/gluonnlp/op.py: https://github.com/dmlc/gluon-nlp/blob/5d4bc9eba7226ea9f9aabbbd39e3b1e886547e48/src/gluonnlp/op.py#L8
src/gluonnlp/op.py
While NumPy is imported as np in test_op.py: https://github.com/dmlc/gluon-nlp/blob/5d4bc9eba7226ea9f9aabbbd39e3b1e886547e48/tests/test_op.py#L1
test_op.py
This requires a change in conventions between tests and code, which can be a minor nuisance.
Description
Mxnet's NumPy is being imported as np in the file
src/gluonnlp/op.py
:https://github.com/dmlc/gluon-nlp/blob/5d4bc9eba7226ea9f9aabbbd39e3b1e886547e48/src/gluonnlp/op.py#L8
While NumPy is imported as np in
test_op.py
:https://github.com/dmlc/gluon-nlp/blob/5d4bc9eba7226ea9f9aabbbd39e3b1e886547e48/tests/test_op.py#L1
This requires a change in conventions between tests and code, which can be a minor nuisance.
What have you tried to solve it?