Skip to content

Commit

Permalink
Fix output shape test for transpose operation (#554)
Browse files Browse the repository at this point in the history
follow-up: 12659ed
  • Loading branch information
juliabeliaeva authored May 9, 2023
1 parent aadf770 commit e98ea10
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2020-2022 JetBrains s.r.o. and Kotlin Deep Learning project contributors. All Rights Reserved.
* Copyright 2020-2023 JetBrains s.r.o. and Kotlin Deep Learning project contributors. All Rights Reserved.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE.txt file.
*/

Expand All @@ -23,7 +23,7 @@ class PreprocessingFinalShapeTest {
val image = BufferedImage(10, 20, BufferedImage.TYPE_3BYTE_BGR)
val (_, actualShape) = preprocess.apply(image)

assertEquals(actualShape, preprocess.getOutputShape(TensorShape(10, 20, 3)))
assertEquals(actualShape, preprocess.getOutputShape(TensorShape(20, 10, 3)))
}

@Test
Expand Down

0 comments on commit e98ea10

Please sign in to comment.