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.
1 parent bbc281f commit 4598fdbCopy full SHA for 4598fdb
extension/runner_util/inputs.cpp
@@ -55,6 +55,14 @@ Result<BufferCleanup> prepare_input_tensors(
55
BufferCleanup cleanup({inputs, num_allocated});
56
return tag.error();
57
}
58
+ if (tag.get() == Tag::None) {
59
+ Error err = method.set_input(runtime::EValue(), i);
60
+ if (err != Error::Ok) {
61
+ BufferCleanup cleanup({inputs, num_allocated});
62
+ return err;
63
+ }
64
+ continue;
65
66
if (tag.get() != Tag::Tensor) {
67
ET_LOG(Debug, "Skipping non-tensor input %zu", i);
68
continue;
0 commit comments