Skip to content

Commit

Permalink
[onert] Fix multimodel connection in executors (#14286)
Browse files Browse the repository at this point in the history
It fixes to read output, not input on interpreting `from`.

ONE-DCO-1.0-Signed-off-by: Sanggyu Lee <[email protected]>
  • Loading branch information
glistening authored Nov 4, 2024
1 parent ccf6510 commit 8c470d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/onert/core/src/exec/MultiModelExecutors.cc
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ void MultiModelExecutors::createEdgeQuantLayers()
const auto &from_io_index = std::get<ir::IOIndex>(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<EdgeTensor>(from_info, from_layout);
}

Expand Down

0 comments on commit 8c470d8

Please sign in to comment.