Skip to content

Commit 8fe6bec

Browse files
psiddhCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 698acec commit 8fe6bec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extension/android/executorch_android/src/androidTest/java/org/pytorch/executorch/ModuleInstrumentationTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ class ModuleInstrumentationTest {
163163
private const val NON_PTE_FILE_NAME = "/test.txt"
164164
private const val FORWARD_METHOD = "forward"
165165
private const val NONE_METHOD = "none"
166-
private val INPUT_SHAPE = longArrayOf(1, 3, 224, 224)
166+
private val inputShape = longArrayOf(1, 3, 224, 224)
167167

168-
private fun dummyInput(): Tensor = Tensor.ones(INPUT_SHAPE, DType.FLOAT)
168+
private fun dummyInput(): Tensor = Tensor.ones(inputShape, DType.FLOAT)
169169
}
170170
}

0 commit comments

Comments
 (0)