You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/02/24 08:26:34 UTC

[GitHub] [tvm] vvchernov commented on a change in pull request #10293: [VirtualMachine] new method allowing to set one input tensor by its index or name

vvchernov commented on a change in pull request #10293:
URL: https://github.com/apache/tvm/pull/10293#discussion_r813647053



##########
File path: include/tvm/runtime/vm/vm.h
##########
@@ -93,7 +93,10 @@ struct VMFunction {
         params(std::move(params)),
         instructions(std::move(instructions)),
         register_file_size(register_file_size),
-        param_device_indexes(std::move(param_device_indexes)) {}
+        param_device_indexes(std::move(param_device_indexes)) {
+    ICHECK_EQ(params.size(), param_device_indexes.size())
+        << "The number of provided parameters doesn't match the number of assigned devices";

Review comment:
       Ok, I've removed it.




-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org