human/types/src/warmup.d.ts

11 lines
434 B
TypeScript
Raw Normal View History

2021-09-13 19:28:35 +02:00
import type { Config } from './config';
import type { Result } from './result';
/** Warmup method pre-initializes all configured models for faster inference
* - can take significant time on startup
* - only used for `webgl` and `humangl` backends
* @param userConfig?: Config
*/
export declare function warmup(instance: any, userConfig?: Partial<Config>): Promise<Result | {
error: any;
}>;
2021-09-13 19:28:35 +02:00
//# sourceMappingURL=warmup.d.ts.map