We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a240307 + b8a0edd commit b2288b3Copy full SHA for b2288b3
backends/xnnpack/runtime/XNNExecutor.cpp
@@ -70,6 +70,11 @@ ET_NODISCARD Error XNNExecutor::initialize(
70
* delegate->execute()
71
*/
72
ET_NODISCARD Error XNNExecutor::prepare_args(EValue** args) {
73
+ ET_CHECK_OR_RETURN_ERROR(
74
+ runtime_ != nullptr,
75
+ Internal,
76
+ "XNNPACK Delegate did not compile correctly");
77
+
78
// Create xnn_externals_value from evalue args
79
xnn_status status;
80
for (uint32_t i = 0; i < externals_.size(); ++i) {
0 commit comments