IConfigTargetOnnxRuntimeDeviceType 属性
ONNXRuntime specific device type
ONNXRuntime专用设备类型
命名空间: DeploySharp.Model程序集: DeploySharp (在 DeploySharp.dll 中) 版本:0.0.4+6e8a2e904469617cd59619d666c0e272985c0e33
public OnnxRuntimeDeviceType TargetOnnxRuntimeDeviceType { get; set; }
属性值
OnnxRuntimeDeviceType
Uses CUDA for GPU, default API for CPU by default
GPU默认使用CUDA,CPU默认使用基础API