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