Internal change

PiperOrigin-RevId: 494305195
This commit is contained in:
Sebastian Schmidt 2022-12-09 18:08:26 -08:00 committed by Copybara-Service
parent 453d67de92
commit 69c3c4c181
10 changed files with 10 additions and 0 deletions

View File

@ -94,6 +94,7 @@ export class AudioClassifier extends AudioTaskRunner<AudioClassifierResult[]> {
{baseOptions: {modelAssetPath}});
}
/** @hideconstructor */
constructor(
wasmModule: WasmModule,
glCanvas?: HTMLCanvasElement|OffscreenCanvas|null) {

View File

@ -96,6 +96,7 @@ export class AudioEmbedder extends AudioTaskRunner<AudioEmbedderResult[]> {
{baseOptions: {modelAssetPath}});
}
/** @hideconstructor */
constructor(
wasmModule: WasmModule,
glCanvas?: HTMLCanvasElement|OffscreenCanvas|null) {

View File

@ -76,6 +76,7 @@ export abstract class TaskRunner {
return createTaskRunner(type, initializeCanvas, fileset, options);
}
/** @hideconstructor protected */
constructor(
wasmModule: WasmModule, glCanvas?: HTMLCanvasElement|OffscreenCanvas|null,
graphRunner?: GraphRunnerImageLib) {

View File

@ -92,6 +92,7 @@ export class TextClassifier extends TaskRunner {
{baseOptions: {modelAssetPath}});
}
/** @hideconstructor */
constructor(
wasmModule: WasmModule,
glCanvas?: HTMLCanvasElement|OffscreenCanvas|null) {

View File

@ -96,6 +96,7 @@ export class TextEmbedder extends TaskRunner {
{baseOptions: {modelAssetPath}});
}
/** @hideconstructor */
constructor(
wasmModule: WasmModule,
glCanvas?: HTMLCanvasElement|OffscreenCanvas|null) {

View File

@ -127,6 +127,7 @@ export class GestureRecognizer extends
{baseOptions: {modelAssetPath}});
}
/** @hideconstructor */
constructor(
wasmModule: WasmModule,
glCanvas?: HTMLCanvasElement|OffscreenCanvas|null) {

View File

@ -115,6 +115,7 @@ export class HandLandmarker extends VisionTaskRunner<HandLandmarkerResult> {
{baseOptions: {modelAssetPath}});
}
/** @hideconstructor */
constructor(
wasmModule: WasmModule,
glCanvas?: HTMLCanvasElement|OffscreenCanvas|null) {

View File

@ -93,6 +93,7 @@ export class ImageClassifier extends VisionTaskRunner<ImageClassifierResult> {
{baseOptions: {modelAssetPath}});
}
/** @hideconstructor */
constructor(
wasmModule: WasmModule,
glCanvas?: HTMLCanvasElement|OffscreenCanvas|null) {

View File

@ -95,6 +95,7 @@ export class ImageEmbedder extends VisionTaskRunner<ImageEmbedderResult> {
{baseOptions: {modelAssetPath}});
}
/** @hideconstructor */
constructor(
wasmModule: WasmModule,
glCanvas?: HTMLCanvasElement|OffscreenCanvas|null) {

View File

@ -92,6 +92,7 @@ export class ObjectDetector extends VisionTaskRunner<Detection[]> {
{baseOptions: {modelAssetPath}});
}
/** @hideconstructor */
constructor(
wasmModule: WasmModule,
glCanvas?: HTMLCanvasElement|OffscreenCanvas|null) {