Class PaddlePredictor

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public class PaddlePredictor
    extends ai.djl.util.NativeResource<java.lang.Long>
    PaddlePaddle C++ Predictor.
    • Field Summary

      • Fields inherited from class ai.djl.util.NativeResource

        handle
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      PaddlePredictor copy()
      • Methods inherited from class ai.djl.util.NativeResource

        getHandle, getUid, isReleased
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Overrides:
        close in class ai.djl.util.NativeResource<java.lang.Long>