junrushao commented on code in PR #16242:
URL: https://github.com/apache/tvm/pull/16242#discussion_r1429013314
##########
src/runtime/ndarray.cc:
##########
@@ -96,6 +96,27 @@ void ArrayCopyToBytes(const DLTensor* handle, void* data,
size_t nbytes) {
DeviceAPI::Get(handle->device)->StreamSync(handle->device, nullptr);
}
+TVM_REGISTER_GLOBAL("mlc.show_dltensor").set_body_typed([](NDArray arr) {
Review Comment:
remove debug code
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]