File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
extension/android/executorch_android/src/main/java/org/pytorch/executorch Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -56,9 +56,8 @@ public class Module {
56
56
private static native HybridData initHybrid (
57
57
String moduleAbsolutePath , int loadMode , int initHybrid );
58
58
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 );
62
61
63
62
mMethodMetadata = populateMethodMeta ();
64
63
}
@@ -72,10 +71,6 @@ Map<String, MethodMetadata> populateMethodMeta() {
72
71
}
73
72
74
73
return metadata ;
75
- =======
76
- private Module (String moduleAbsolutePath , int loadMode , int numThreads ) {
77
- mHybridData = initHybrid (moduleAbsolutePath , loadMode , numThreads );
78
- >>>>>>> jni -layer -cpp
79
74
}
80
75
81
76
/** Lock protecting the non-thread safe methods in mHybridData. */
You can’t perform that action at this time.
0 commit comments