公開最終類別 TensorFlowLite
用於載入 TensorFlowLite 執行階段和原生程式碼的靜態公用程式方法。
公用方法
| static void | 
 
init()
                
                   
確認已載入 TensorFlowLite 原生資料庫。 
 | 
| 靜態 String | 
 
runtimeVersion()
                
                   
傳回預設 TensorFlowLite 執行階段的版本。 
 | 
| 靜態 String | |
| 靜態 String | 
 
schemaVersion()
                
                   
傳回預設 TensorFlowLite 執行階段支援的 TensorFlowLite 模型結構定義版本。 
 | 
| 靜態 String | 
 
schemaVersion(InterpreterApi.Options.TfLiteRuntime 執行階段)
                
                   
傳回指定 TensorFlowLite 執行階段支援的 TensorFlowLite 模型結構定義版本。 
 | 
| 靜態 String | 
 
version()
                
                   
        此方法已淘汰。建議您使用  
or #schemaVersion()。 | 
繼承的方法
公用方法
public static void init ()
確認已載入 TensorFlowLite 原生資料庫。
如果失敗,系統會擲回 UnsatisfiedLinkError 並提供適當的錯誤訊息。
公開 靜態 字串 runtimeVersion (InterpreterApi.Options.TfLiteRuntime 執行階段)
傳回指定的 TensorFlowLite 執行階段版本。
參數
| 執行階段 | 
|---|
公開 靜態 字串 schemaVersion (InterpreterApi.Options.TfLiteRuntime 執行階段)
傳回指定 TensorFlowLite 執行階段支援的 TensorFlowLite 模型結構定義版本。
參數
| 執行階段 | 
|---|