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 newConcurrentModelinstance. -
Method Summary
-
Constructor Details
-
ConcurrentModel
Creates a newConcurrentModelinstance.- Parameters:
model- The underlying model.gpu- Whether model is using the GPU or not.
-
-
Method Details
-
getModel
The underlying model. -
isGpu
public boolean isGpu()Whether model is using the GPU or not. -
equals
-
hashCode
-
toString
-