Package org.anchoranalysis.inference
Interface InferenceModel
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
ImageInferenceModel<T>
- All Known Implementing Classes:
OnnxModel
,OpenCVModel
A model used for inference.
- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Indicates that the model will no longer be used, and does appropriate tidying up and freeing of resources.
-
Method Details
-
close
Indicates that the model will no longer be used, and does appropriate tidying up and freeing of resources.- Specified by:
close
in interfaceAutoCloseable
- Throws:
OperationFailedException
-