MLFeatureDescription.IsAllowed(MLFeatureValue) Method

Definition

Gets whether value is a valid value (and kind) for this feature.

[Foundation.Export("isAllowedValue:")]
public virtual bool IsAllowed (CoreML.MLFeatureValue value);
abstract member IsAllowed : CoreML.MLFeatureValue -> bool
override this.IsAllowed : CoreML.MLFeatureValue -> bool

Parameters

value
MLFeatureValue

The value to check.

Returns

Attributes

Applies to