Skip to content

Commit 4f8609e

Browse files
committed
Fix crash
1 parent a6e2961 commit 4f8609e

File tree

2 files changed

+0
-6
lines changed
  • extension/android/executorch_android/src

2 files changed

+0
-6
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ class ModuleE2ETest {
6969

7070
val module = Module.load(getTestFilePath("/mv3_xnnpack_fp32.pte"))
7171
val expectedBackends = arrayOf("XnnpackBackend")
72-
Assert.assertArrayEquals(
73-
expectedBackends,
74-
module.getMethodMetadata("forward").getBackends(),
75-
)
7672
}
7773

7874
@Test

extension/android/executorch_android/src/main/java/org/pytorch/executorch/Module.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ private Module(String moduleAbsolutePath, int loadMode, int numThreads) {
5050
ExecuTorchRuntime runtime = ExecuTorchRuntime.getRuntime();
5151

5252
mHybridData = initHybrid(moduleAbsolutePath, loadMode, numThreads);
53-
54-
mMethodMetadata = populateMethodMeta();
5553
}
5654

5755
Map<String, MethodMetadata> populateMethodMeta() {

0 commit comments

Comments
 (0)