Enumerations

The following enumerations are available globally.

  • The ORT logging verbosity levels.

    See more

    Declaration

    Objective-C

    enum ORTLoggingLevel : int32_t {}

    Swift

    enum ORTLoggingLevel : Int32, @unchecked Sendable
  • The ORT value types. Currently, a subset of all types is supported.

    See more

    Declaration

    Objective-C

    enum ORTValueType : int32_t {}

    Swift

    enum ORTValueType : Int32, @unchecked Sendable
  • The ORT tensor element data types. Currently, a subset of all types is supported.

    See more

    Declaration

    Objective-C

    enum ORTTensorElementDataType : int32_t {}

    Swift

    enum ORTTensorElementDataType : Int32, @unchecked Sendable
  • The ORT graph optimization levels. See here for more details: https://onnxruntime.ai/docs/performance/graph-optimizations.html

    See more

    Declaration

    Objective-C

    enum ORTGraphOptimizationLevel : int32_t {}

    Swift

    enum ORTGraphOptimizationLevel : Int32, @unchecked Sendable