枚举
以下枚举全局可用。
-
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