Class DCDenoiseEngine.PredictorPool
java.lang.Object
org.jlab.service.ai.DCDenoiseEngine.PredictorPool
- Enclosing class:
DCDenoiseEngine
-
Constructor Summary
ConstructorsConstructorDescriptionPredictorPool(int size, ai.djl.repository.zoo.ZooModel<float[][][], float[][][]> model) -
Method Summary
-
Constructor Details
-
PredictorPool
public PredictorPool(int size, ai.djl.repository.zoo.ZooModel<float[][][], float[][][]> model)
-
-
Method Details
-
take
- Throws:
InterruptedException
-
put
- Throws:
InterruptedException
-
shutdownAll
public void shutdownAll()
-