projects
/
platform
/
core
/
ml
/
nnfw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 1.8.0
[platform/core/ml/nnfw.git]
/
compiler
/
luci
/
import
/
src
/
Nodes
/
CircleIf.cpp
diff --git
a/compiler/luci/import/src/Nodes/CircleIf.cpp
b/compiler/luci/import/src/Nodes/CircleIf.cpp
index
d609064
..
db9ffe1
100644
(file)
--- a/
compiler/luci/import/src/Nodes/CircleIf.cpp
+++ b/
compiler/luci/import/src/Nodes/CircleIf.cpp
@@
-43,7
+43,7
@@
bool CircleIfGraphBuilder::validate(const ValidateArgs &args) const
// input 0 should be BOOL type
const auto &tensors = args.reader.tensors();
- const auto &tensor = tensors.at(inputs
[0]
);
+ const auto &tensor = tensors.at(inputs
.at(0)
);
if (tensor->type != circle::TensorType_BOOL)
return false;