getLiteRTCoreMLDelegateLibraryPath function

String getLiteRTCoreMLDelegateLibraryPath()

Get the DynamicLibrary that contains the CoreML delegate

Implementation

String getLiteRTCoreMLDelegateLibraryPath(){

  String libTfLitePath = "";

  if (UniversalPlatform.isIOS) {
    libTfLitePath = shouldUseDynamicLibraryProcess;
  }
  else if (UniversalPlatform.isMacOS) {
    debugPrint("MacOS could be supported, upvote this issue if you are interested: https://github.com/google-ai-edge/LiteRT/issues/800");
  }

  if(libTfLitePath == ""){
    debugPrint("$unsupportedPlatform the CoreML delegate");
  }
  return libTfLitePath;

}