public final 枚举 RuntimeFlavor
表示 TFLite 运行时。与 InterpreterApi.Options.TfLiteRuntime
相反,此枚举表示正在使用的实际运行时,而后者表示应使用哪个运行时的偏好设置。
继承的方法
枚举值
public static final RuntimeFlavor APPLICATION
直接内置于应用中的 TFLite 运行时。
public static final RuntimeFlavor SYSTEM
系统提供的 TFLite 运行时(Google Play 服务中的 TFLite)。