NativeBackend.onnx constructor

NativeBackend.onnx()

Create a NativeBackend for STT/TTS/VAD operations.

Uses RACommons for component functions. The ONNX backend must be registered first via Onnx.register().

Implementation

factory NativeBackend.onnx() {
  return NativeBackend._(PlatformLoader.loadCommons(), 'onnx');
}