<!--
{
  "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/infrequent",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Core ML"
    ],
    "preciseIdentifier" : "s:6CoreML19MLOptimizationHintsV16ReshapeFrequencyO10infrequentyA2EmF"
  },
  "title" : "MLOptimizationHints.ReshapeFrequency.infrequent"
}
-->

# MLOptimizationHints.ReshapeFrequency.infrequent

The input shape is expected to be stable and many/all predictions sent to this loaded model instance would
use the same input shapes repeatedly. On the shape change, Core ML re-optimizes the internal engine for the
new shape if possible. The re-optimization takes some time, but the subsequent predictions for the shape
should run faster.

```
case infrequent
```

---

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)