Similar to the previous RFC that renames the TVMContext to Device, this RFC aims to make the TVM API be more consistent with other frameworks. We propose to rename the asnumpy API in the TVM NDArray to numpy followed by the convention adopted in the PyTorch Tensor and the TensorFlow Tensor.
Let me know if you have any concern to this API change. Thank you.
Thanks haichen for bringing this up. I agree it is a good change. We can introduce .numpy API, mark asnumpy as deprecated and remove in the next release
Definitely a good idea. I second Tianqi here with marking the old method as deprecated. I think there was a lot of confusion from users when we switch context → device without any deprecation warnings.