Skip to content

Commit

Permalink
[NPU] - Port plugin changes for dynamic shapes support - review
Browse files Browse the repository at this point in the history
  • Loading branch information
DariaMityagina committed Apr 4, 2024
1 parent b9b292f commit 50a89f5
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ void ZeroInferRequest::get_result() {
if (isShapeTensorName(name)) {
const auto actualTensorName = name.substr(SHAPE_TENSOR_PREFIX.size());
ov::Shape actualDims;
actualDims.reserve(outputTensor->get_size());

for (size_t i = 0; i < outputTensor->get_size(); ++i) {
const auto reverseIdx = outputTensor->get_size() - 1 - i;
Expand Down

0 comments on commit 50a89f5

Please sign in to comment.