MCPcopy Create free account
hub / github.com/tensorflow/tfjs / constructor

Method constructor

tfjs-automl/src/img_classification.ts:40–40  ·  view source on GitHub ↗
(public graphModel: GraphModel, public dictionary: string[])

Source from the content-addressed store, hash-verified

38
39export class ImageClassificationModel {
40 constructor(public graphModel: GraphModel, public dictionary: string[]) {}
41
42 async classify(input: ImageInput, options?: ImageClassificationOptions):
43 Promise<ImagePrediction[]> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected