reinitialize

Reloads the model with backendConfig on this engine's thread, after any transcription already queued. The old native context is freed before the new one is created, so GPU resources are released promptly (e.g. when switching to ComputeBackend.CPU_ONLY as an iOS app enters the background).

If loading with backendConfig fails, the previous configuration is restored and the original error is rethrown.

Return

the new activeBackend.

Throws

if the engine is closed.