server-json/node_modules/tfjs-image-recognition-base/build/es6/dom/toNetInput.d.ts
2024-11-01 08:00:42 +00:00

10 lines
474 B
TypeScript

import { NetInput } from './NetInput';
import { TNetInput } from './types';
/**
* Validates the input to make sure, they are valid net inputs and awaits all media elements
* to be finished loading.
*
* @param input The input, which can be a media element or an array of different media elements.
* @returns A NetInput instance, which can be passed into one of the neural networks.
*/
export declare function toNetInput(inputs: TNetInput): Promise<NetInput>;