Skip to main content
Version: Next

Interface: ModelResult<T>

MobileModelModule.ModelResult

Result of model inference. Each model result has the inference time and the model result. The model result depends on the model and is therefore specified as a generic type (i.e., template).

Type parameters

NameDescription
TModel result type

Properties

metrics

metrics: ModelResultMetrics

The model result metrics, e.g., including inference time in milliseconds.


result

result: T

The model result.