Skip to main content
Version: 0.10.0

Type Alias: ClassifierModel<L>

ClassifierModel<L> = object

Defined in: extensions/cv/tasks/classification.ts:33

Model configuration required to instantiate a classifier task runner.

Type Parameters

L

L

Properties

modelOpts

readonly modelOpts: ClassifierOptions<L>

Defined in: extensions/cv/tasks/classification.ts:41

Image preprocessing and label vocabulary. The labels array length must match the model's output dimension. See ClassifierOptions.


modelPath

readonly modelPath: string

Defined in: extensions/cv/tasks/classification.ts:35

Local path or remote URL of the .pte model file.