An interface that represents a collection of feature values for a model.
- iOS 11.0+
- macOS 10.13+
- tvOS 11.0+
- watchOS 4.0+
- Core ML
If you have a more complex data source, consider adding this protocol to your data source. The interface is straightforward to implement, being mainly an accessor for feature values. By implementing the protocol, you allow the
MLModel to query your data sources without constructing a separate input instance. If your data is collected asynchronously, implement this protocol on your data structure. Or, if using the autogenerated interface leads to copying excessive amounts of data, use this protocol to integrate your data directly with the