枚举
以下枚举可在全局范围内使用。
-
ORT 日志详细程度级别。
查看更多声明
Objective-C
enum ORTLoggingLevel : int32_t {}Swift
enum ORTLoggingLevel : Int32, @unchecked Sendable -
ORT 值类型。目前仅支持所有类型中的一部分。
查看更多声明
Objective-C
enum ORTValueType : int32_t {}Swift
enum ORTValueType : Int32, @unchecked Sendable -
ORT 张量元素数据类型。目前仅支持所有类型中的一部分。
查看更多声明
Objective-C
enum ORTTensorElementDataType : int32_t {}Swift
enum ORTTensorElementDataType : Int32, @unchecked Sendable -
ORT 图优化级别。更多详情请参见此处:https://runtime.onnx.org.cn/docs/performance/model-optimizations/graph-optimizations.html
查看更多声明
Objective-C
enum ORTGraphOptimizationLevel : int32_t {}Swift
enum ORTGraphOptimizationLevel : Int32, @unchecked Sendable
在 GitHub 上查看
枚举参考