Skip to content
Snippets Groups Projects
Commit 609e974b authored by Maxence Naud's avatar Maxence Naud
Browse files

Add possibility for optional inputs to be associated without having any element

parent 04d87091
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,8 @@ bool Resize_Op::forwardDims(bool allowDataDependency) {
return false;
}
if (!inputsAssociated()) {
// Some optional input may be linked but undefined because of ONNX import
if (!inputsAssociated(false)) {
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment