Package apple.coreml.protocol
Interface MLFeatureProvider
-
- All Known Implementing Classes:
MLDictionaryFeatureProvider
public interface MLFeatureProviderProtocol for accessing a feature value for a feature name API-Since: 11.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull NSSet<java.lang.String>featureNames()@Nullable MLFeatureValuefeatureValueForName(@NotNull java.lang.String featureName)Returns nil if the provided featureName is not in the set of featureNames
-
-
-
Method Detail
-
featureNames
@NotNull @NotNull NSSet<java.lang.String> featureNames()
-
featureValueForName
@Nullable @Nullable MLFeatureValue featureValueForName(@NotNull @NotNull java.lang.String featureName)
Returns nil if the provided featureName is not in the set of featureNames
-
-