Skip to content

Commit 27c0281

Browse files
committed
Fix
1 parent 8e50aa5 commit 27c0281

File tree

1 file changed

+2
-7
lines changed
  • extension/android/executorch_android/src/main/java/org/pytorch/executorch

1 file changed

+2
-7
lines changed

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

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,8 @@ public class Module {
5656
private static native HybridData initHybrid(
5757
String moduleAbsolutePath, int loadMode, int initHybrid);
5858

59-
<<<<<<< HEAD
60-
private Module(String moduleAbsolutePath, int loadMode) {
61-
mHybridData = initHybrid(moduleAbsolutePath, loadMode);
59+
private Module(String moduleAbsolutePath, int loadMode, int numThreads) {
60+
mHybridData = initHybrid(moduleAbsolutePath, loadMode, numThreads);
6261

6362
mMethodMetadata = populateMethodMeta();
6463
}
@@ -72,10 +71,6 @@ Map<String, MethodMetadata> populateMethodMeta() {
7271
}
7372

7473
return metadata;
75-
=======
76-
private Module(String moduleAbsolutePath, int loadMode, int numThreads) {
77-
mHybridData = initHybrid(moduleAbsolutePath, loadMode, numThreads);
78-
>>>>>>> jni-layer-cpp
7974
}
8075

8176
/** Lock protecting the non-thread safe methods in mHybridData. */

0 commit comments

Comments
 (0)