(configuration?: Config)
| 19 | const init = memoize(initInference, (config) => JSON.stringify(config)); |
| 20 | |
| 21 | async function preload(configuration?: Config): Promise<void> { |
| 22 | const config = validateConfig(configuration); |
| 23 | await preloadResources(config); |
| 24 | return; |
| 25 | } |
| 26 | |
| 27 | /** |
| 28 | * Removes the background from an image. |
nothing calls this directly
no test coverage detected