EncodeClassifyOptions
Defined in: packages/runntime/src/zoo/tasks/cv/imageClassification.ts:65
The options every encode
Extends
Section titled “Extends”Properties
Section titled “Properties”encoder?
Section titled “encoder?”
readonlyoptionalencoder?:GpuEncoder
Defined in: packages/runntime/src/zoo/tasks/gpu.ts:38
Records into this encoder, and the caller finishes and submits it, before disposing the runner. It must not have an open pass. Default: a new encoder, submitted before the method returns.
Inherited from
Section titled “Inherited from”source
Section titled “source”
readonlysource:GpuImage|GpuTensor<ClassifyInput>
Defined in: packages/runntime/src/zoo/tasks/gpu.ts:33
Inherited from
Section titled “Inherited from”target
Section titled “target”
readonlytarget:GpuTensor
Defined in: packages/runntime/src/zoo/tasks/gpu.ts:34
Inherited from
Section titled “Inherited from”
readonlyoptionaltopk?:number
Defined in: packages/runntime/src/zoo/tasks/cv/imageClassification.ts:71
How many classes to write, best first. Default: as many as the target holds, up to every class.