Fixed Invalid read of size 8 reported by Valgrind
This commit is contained in:
parent
58d36ab943
commit
9ab00a57a6
|
|
@ -328,7 +328,7 @@ LayoutInference(
|
|||
}
|
||||
|
||||
while (!tensor_queue.empty()) {
|
||||
const auto& tensor = tensor_queue.front();
|
||||
auto tensor = tensor_queue.front();
|
||||
tensor_queue.pop_front();
|
||||
const auto& consumers = src_graph->GetConsumersOp(tensor);
|
||||
for (const auto& op : consumers) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue