Skip to main content
Version: 0.1

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.

Defined in

MobileModelModule.ts:97


result

result: T

The model result.

Defined in

MobileModelModule.ts:92