Skip to content

Commit

Permalink
Fix for the tab issue
Browse files Browse the repository at this point in the history
  • Loading branch information
CNOCycle committed Apr 24, 2024
1 parent 1c20be2 commit 9eb19ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/dnn/src/tflite/tflite_importer.cpp
Expand Up @@ -731,8 +731,8 @@ void TFLiteImporter::parseTranspose(const Operator& op, const std::string& opcod

// OpenCV operates under the assumption that NCHW format, whereas TFLite defaults to NHWC.
// Therfore, to align these layouts, the axes of the permutation vector should be adjusted accordingly.
// For implementation details, please refer to the disscusion:
// https://github.com/opencv/opencv/pull/25297#issuecomment-2049762298
// For implementation details, please refer to the disscusion:
// https://github.com/opencv/opencv/pull/25297#issuecomment-2049762298

if (perm[0] != 0) {
CV_Error(Error::StsParseError, "The first axis should not be permuted.");
Expand Down

0 comments on commit 9eb19ba

Please sign in to comment.