Class ConcurrentModel<T extends InferenceModel>
Object
ConcurrentModel<T>
- Type Parameters:
T
- the type of model
An instance of model that can be used concurrently for inference.
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionConcurrentModel
(T model, boolean gpu) Creates a newConcurrentModel
instance. -
Method Summary
-
Constructor Details
-
ConcurrentModel
Creates a newConcurrentModel
instance.- Parameters:
model
- The underlying model.gpu
- Whether model is using the GPU or not.
-
-
Method Details