Skip to content

Commit

Permalink
[NPU][Dynamism] - Fix L0 dynamic shape inference - getBatchSizeForNode
Browse files Browse the repository at this point in the history
  • Loading branch information
DariaMityagina committed Jul 30, 2024
1 parent 127ddce commit 650e8e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ std::optional<size_t> getBatchSizeForNode(const IONodeDescriptor& nodeDescriptor
return std::nullopt;
}

const std::vector<size_t>& ovDimensions = nodeDescriptor.originalShape.get_shape();
const std::vector<size_t>& ovDimensions = nodeDescriptor.originalShape.get_max_shape();

if (ovDimensions[BATCH_AXIS] == zeDescriptor.info.dims[BATCH_AXIS] &&
ovDimensions[BATCH_AXIS] != DEFAULT_BATCH_SIZE) {
Expand Down

0 comments on commit 650e8e1

Please sign in to comment.