From 10ca6aab9427569e68b83cde4342fe1dd9bc8a1c Mon Sep 17 00:00:00 2001 From: Sanggyu Lee Date: Thu, 31 Oct 2024 13:24:19 +0900 Subject: [PATCH] [onert] Fix multimodel connection in executors It fixes to read output, not input on interpreting `from`. ONE-DCO-1.0-Signed-off-by: Sanggyu Lee --- runtime/onert/core/src/exec/MultiModelExecutors.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/onert/core/src/exec/MultiModelExecutors.cc b/runtime/onert/core/src/exec/MultiModelExecutors.cc index 011d500d6c3..2c5a074d623 100644 --- a/runtime/onert/core/src/exec/MultiModelExecutors.cc +++ b/runtime/onert/core/src/exec/MultiModelExecutors.cc @@ -174,8 +174,8 @@ void MultiModelExecutors::createEdgeQuantLayers() const auto &from_io_index = std::get(from_iodesc); const auto from_executor = _executors.at({from_model_index, from_subg_index}).get(); - const auto &from_info = from_executor->inputInfo(from_io_index.value()); - const auto from_layout = from_executor->inputLayout(from_io_index.value()); + const auto &from_info = from_executor->outputInfo(from_io_index.value()); + const auto from_layout = from_executor->outputLayout(from_io_index.value()); _edge_tensors[from_iodesc] = std::make_unique(from_info, from_layout); }