File tree Expand file tree Collapse file tree 3 files changed +4
-32
lines changed
extension/android/src/main/java/org/pytorch/executorch Expand file tree Collapse file tree 3 files changed +4
-32
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -27,8 +27,8 @@ public class Module {
27
27
/** Load mode for the module. Use memory locking and ignore errors. */
28
28
public static final int LOAD_MODE_MMAP_USE_MLOCK_IGNORE_ERRORS = 3 ;
29
29
30
- /** Reference to the INativePeer object of this module. */
31
- private INativePeer mNativePeer ;
30
+ /** Reference to the NativePeer object of this module. */
31
+ private NativePeer mNativePeer ;
32
32
33
33
/**
34
34
* Loads a serialized ExecuTorch module from the specified path on the disk. Uses default load
@@ -68,7 +68,7 @@ public static Module load(final String modelPath) {
68
68
return load (modelPath , null );
69
69
}
70
70
71
- Module (INativePeer nativePeer ) {
71
+ Module (NativePeer nativePeer ) {
72
72
this .mNativePeer = nativePeer ;
73
73
}
74
74
Original file line number Diff line number Diff line change 13
13
import com .facebook .soloader .nativeloader .NativeLoader ;
14
14
import java .util .Map ;
15
15
16
- class NativePeer implements INativePeer {
16
+ class NativePeer {
17
17
static {
18
18
// Loads libexecutorch.so from jniLibs
19
19
NativeLoader .loadLibrary ("executorch" );
You can’t perform that action at this time.
0 commit comments