<!--
{
  "documentType" : "article",
  "framework" : "CoreML",
  "identifier" : "/documentation/CoreML/coreml-enumerations",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "CoreML Enumerations"
}
-->

# CoreML Enumerations

## Topics

### Enumerations

[`enum MLModelStructure`](/documentation/CoreML/MLModelStructure-swift.enum)

An enum representing the structure of a model.

[`enum MLReshapeFrequencyHint : NSInteger;`](/documentation/CoreML/MLReshapeFrequencyHint)

[`enum MLShapedArrayBufferLayout`](/documentation/CoreML/MLShapedArrayBufferLayout)

Buffer layout enum

[`enum MLSpecializationStrategy : NSInteger;`](/documentation/CoreML/MLSpecializationStrategy)

The optimization strategy for the model specialization.

### Macros

[`#define ML_EXPORT`](/documentation/CoreML/ML_EXPORT)

[`#define MODELCOLLECTION_SUNSET(...)`](/documentation/CoreML/MODELCOLLECTION_SUNSET)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)