LiteRtLmBackend constructor
LiteRtLmBackend({
- Object? initialSendPort,
- @Deprecated('Use ModelParams.device. This will be removed in 1.0.') String? preferredBackend,
Creates a placeholder backend on platforms without dart:ffi.
Implementation
LiteRtLmBackend({
Object? initialSendPort,
@Deprecated('Use ModelParams.device. This will be removed in 1.0.')
String? preferredBackend,
}) {
throw UnsupportedError('LiteRT-LM backend requires a native platform.');
}