Package ai.djl.paddlepaddle.jni
Class LibUtils
java.lang.Object
ai.djl.paddlepaddle.jni.LibUtils
Utilities 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
Modifier and TypeMethodDescriptionstatic voidstatic voidloadLinuxDependencies(String libName) static voidloadMacOsDependencies(String libName) static voidloadWindowsDependencies(String libName)
-
Method Details
-
loadLibrary
public static void loadLibrary() -
loadLinuxDependencies
-
loadWindowsDependencies
-
loadMacOsDependencies
-