深度學習執行時
5 個節點
本頁內容 5
描述執行時
函數Which libtorch this distribution carries and what it can see, in one line.
簽名
描述執行時() -> 文字
string DescribeRuntime()
返回
| 描述 | 文字 |
- 所屬發行版
- 元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 深度學習執行時
- 所屬包
- 機器學習
GPU 是否可用
函數Whether models can run on an NVIDIA GPU here: the machine has one and a driver, and the distribution carries the CUDA build of libtorch.
簽名
GPU 是否可用() -> 真否
bool IsGpuAvailable()
返回
| 可用 | 真否 |
- 所屬發行版
- 元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 深度學習執行時
- 所屬包
- 機器學習
已載入的模型
函數The models this program holds in memory now, one line each.
簽名
已載入的模型() -> 文字陣列
string[] LoadedModels()
返回
| 模型 | 文字陣列 |
- 所屬發行版
- 元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 深度學習執行時
- 所屬包
- 機器學習
解除安裝所有模型
函數Frees every model this program has loaded.
簽名
解除安裝所有模型() -> 整數
int UnloadAllModels()
返回
| 數量 | 整數 |
- 所屬發行版
- 元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 深度學習執行時
- 所屬包
- 機器學習
解除安裝模型
函數Frees the memory a model holds. The next Load of it reads it again; nodes still holding it refuse to use it.
簽名
解除安裝模型(模型: Loaded Model)
void UnloadModel(LoadedModel model)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 模型 | Loaded Model | — | The model to unload. |
- 所屬發行版
- 元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 深度學習執行時
- 所屬包
- 機器學習