Package ai.djl.paddlepaddle.jni
Class LibUtils
- java.lang.Object
-
- ai.djl.paddlepaddle.jni.LibUtils
-
public final class LibUtils extends java.lang.ObjectUtilities for finding the Paddle Engine binary on the System.The Engine will be searched for in a variety of locations in the following order:
- In the path specified by the Paddle_LIBRARY_PATH environment variable
- In a jar file location in the classpath. These jars can be created with the paddle-native module.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidloadLibrary()static voidloadLinuxDependencies(java.lang.String libName)static voidloadMacOsDependencies(java.lang.String libName)static voidloadWindowsDependencies(java.lang.String libName)
-
-
-
Method Detail
-
loadLibrary
public static void loadLibrary()
-
loadLinuxDependencies
public static void loadLinuxDependencies(java.lang.String libName)
-
loadWindowsDependencies
public static void loadWindowsDependencies(java.lang.String libName)
-
loadMacOsDependencies
public static void loadMacOsDependencies(java.lang.String libName)
-
-