isAllowedValue(_:)
Checks whether the model will accept an input feature value.
Declaration
func isAllowedValue(_ value: MLFeatureValue) -> BoolParameters
- value:
Given the
MLFeatureValue, is it compatible with theMLFeatureTypeof thisMLFeatureDescription.
Return Value
True if the given MLFeatureValue is acceptable to the model’s input feature, false otherwise.