Show / Hide Table of Contents

Enum CoreMLFlags

CoreML flags for use with SessionOptions. See https://github.com/microsoft/onnxruntime/blob/main/include/onnxruntime/core/providers/coreml/coreml_provider_factory.h

Namespace: Microsoft.ML.OnnxRuntime
Assembly: Microsoft.ML.OnnxRuntime.dll
Syntax
[Flags]
public enum CoreMLFlags : uint

Fields

Name Description
COREML_FLAG_CREATE_MLPROGRAM

CoreML flags for use with SessionOptions. See https://github.com/microsoft/onnxruntime/blob/main/include/onnxruntime/core/providers/coreml/coreml_provider_factory.h

COREML_FLAG_ENABLE_ON_SUBGRAPH

CoreML flags for use with SessionOptions. See https://github.com/microsoft/onnxruntime/blob/main/include/onnxruntime/core/providers/coreml/coreml_provider_factory.h

COREML_FLAG_LAST

CoreML flags for use with SessionOptions. See https://github.com/microsoft/onnxruntime/blob/main/include/onnxruntime/core/providers/coreml/coreml_provider_factory.h

COREML_FLAG_ONLY_ALLOW_STATIC_INPUT_SHAPES

CoreML flags for use with SessionOptions. See https://github.com/microsoft/onnxruntime/blob/main/include/onnxruntime/core/providers/coreml/coreml_provider_factory.h

COREML_FLAG_ONLY_ENABLE_DEVICE_WITH_ANE

CoreML flags for use with SessionOptions. See https://github.com/microsoft/onnxruntime/blob/main/include/onnxruntime/core/providers/coreml/coreml_provider_factory.h

COREML_FLAG_USE_CPU_AND_GPU

CoreML flags for use with SessionOptions. See https://github.com/microsoft/onnxruntime/blob/main/include/onnxruntime/core/providers/coreml/coreml_provider_factory.h

COREML_FLAG_USE_CPU_ONLY

CoreML flags for use with SessionOptions. See https://github.com/microsoft/onnxruntime/blob/main/include/onnxruntime/core/providers/coreml/coreml_provider_factory.h

COREML_FLAG_USE_NONE

CoreML flags for use with SessionOptions. See https://github.com/microsoft/onnxruntime/blob/main/include/onnxruntime/core/providers/coreml/coreml_provider_factory.h

  • Improve this Doc
  • View Source
In This Article
Back to top