Please use. NET 5,. NET 6, NET 7,. NET 8, NET Framework 4.6, NET Framework 4.61, NET Framework 4.7, NET Framework 4.72, NET Framework 4.8, NET Framework 4.81, and. NET Core 3.1 versions

DeviceType 枚举

Represents hardware device types available for inference operations. 表示可用于推理操作的硬件设备类型

Definition

命名空间: DeploySharp.Engine
程序集: DeploySharp (在 DeploySharp.dll 中) 版本:0.0.4+6e8a2e904469617cd59619d666c0e272985c0e33
C#
public enum DeviceType

备注

Device selection affects which inference backends are available. 设备选择影响哪些推理后端可用

成员

AUTO0 Automatic device selection (OpenVINO only) 自动设备选择(仅OpenVINO)
CPU1 Central Processing Unit (CPU) Supports OpenVINO and ONNX Runtime 中央处理器(CPU) 支持OpenVINO和ONNX Runtime
GPU02 Primary Graphics Processing Unit Supports OpenVINO, ONNX Runtime, and TensorRT 主图形处理器 支持OpenVINO、ONNX Runtime和TensorRT
GPU13 Secondary Graphics Processing Unit Supports OpenVINO, ONNX Runtime, and TensorRT 副图形处理器 支持OpenVINO、ONNX Runtime和TensorRT
NPU4 Neural Processing Unit (OpenVINO only) Supports Intel Neural Compute Stick and AI accelerators 神经处理单元(仅OpenVINO) 支持英特尔神经计算棒和AI加速器

参见