mehrdadh commented on a change in pull request #10590:
URL: https://github.com/apache/tvm/pull/10590#discussion_r826408951
##########
File path: src/runtime/vm/executable.cc
##########
@@ -105,7 +105,7 @@ PackedFunc Executable::GetFunction(const std::string& name,
const ObjectPtr<Obje
});
} else {
LOG(FATAL) << "Unknown packed function: " << name;
- return PackedFunc(nullptr);
+ return PackedFunc();
Review comment:
yeah, `PackedFunc()` just matches with the rest of the codebase.
--
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]