reshapeFrequency
The anticipated reshape frequency
Declaration
var reshapeFrequency: MLOptimizationHints.ReshapeFrequencyDiscussion
CoreML framework needs to reshape the model with new shapes for models with flexible input. Specify the anticipated reshape frequency (frequent or infrequent), so that the framework can optimize for fast shape switching or fast prediction on seen shapes.
The default value is frequent, which means CoreML tries to switch to new shapes as fast as possible