深度学习运行时
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. |
- 所属发行版
- 元编程(专业版)
- 可用的图种类
- 事件 例程 状态机状态
- 声明于
- 深度学习运行时
- 所属包
- 机器学习