Class LibUtils

java.lang.Object
ai.djl.mxnet.jna.LibUtils

public final class LibUtils extends Object
Utilities for finding the MXNet 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 MXNET_LIBRARY_PATH environment variable
  2. In a jar file location in the classpath. These jars can be created with the mxnet-native module.
  3. In the python3 path. These can be installed using pip.
  4. In the python path. These can be installed using pip.
  • Method Details

    • loadLibrary

      public static MxnetLibrary loadLibrary()
    • getLibName

      public static String getLibName()