Class LibUtils

java.lang.Object
ai.djl.paddlepaddle.jni.LibUtils

public final class LibUtils extends Object
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:

  1. In the path specified by the Paddle_LIBRARY_PATH environment variable
  2. In a jar file location in the classpath. These jars can be created with the paddle-native module.
  • Method Details

    • loadLibrary

      public static void loadLibrary()
    • loadLinuxDependencies

      public static void loadLinuxDependencies(String libName)
    • loadWindowsDependencies

      public static void loadWindowsDependencies(String libName)
    • loadMacOsDependencies

      public static void loadMacOsDependencies(String libName)