createRuntime function

LiteRtLmNativeRuntime createRuntime()

Creates the native runtime for the current IO platform.

Implementation

LiteRtLmNativeRuntime createRuntime() {
  return Platform.isAndroid ? createJniRuntime() : createFfiRuntime();
}