Share via


MLFeatureDescription.IsAllowed(MLFeatureValue) Method

Definition

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

[Foundation.Export("isAllowedValue:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool IsAllowed(CoreML.MLFeatureValue value);
[<Foundation.Export("isAllowedValue:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member IsAllowed : CoreML.MLFeatureValue -> bool
override this.IsAllowed : CoreML.MLFeatureValue -> bool

Parameters

value
MLFeatureValue

The value to check.

Returns

Attributes

Applies to