loadModel method
Loads and compiles a general .tflite model.
Implementation
@override
Future<LiteRtModel> loadModel(String modelPath, {String accelerator = 'webgpu'}) async {
final options = _JsLiteRtOptions(accelerator: accelerator.toJS);
final jsModel = await _jsLoadAndCompile(modelPath.toJS, options).toDart;
return LiteRtModelWeb(jsModel);
}