<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: 17.4.0 -",
    "macOS: 14.4.0 -",
    "tvOS: 17.4.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreML",
  "identifier" : "/documentation/CoreML/MLOptimizationHints-swift.struct/ReshapeFrequency-swift.enum/frequent",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Core ML"
    ],
    "preciseIdentifier" : "s:6CoreML19MLOptimizationHintsV16ReshapeFrequencyO8frequentyA2EmF"
  },
  "title" : "MLOptimizationHints.ReshapeFrequency.frequent"
}
-->

# MLOptimizationHints.ReshapeFrequency.frequent

The input shape is expected to change frequently on each prediction sent to this loaded model instance. Core
ML will try to minimize the latency associated with shape changes and avoid expensive shape-specific
optimizations prior to prediction computation. While prediction computation may be slower for each specific
shape, switching between shapes should be faster.  This is the default.

```
case frequent
```

---

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)