Share via


MLFeatureValue.CreateUndefined(MLFeatureType) Method

Definition

Static factory method to create a MLFeatureValue of the specified type but with an undefined value.

[Foundation.Export("undefinedFeatureValueWithType:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue CreateUndefined(CoreML.MLFeatureType type);
[<Foundation.Export("undefinedFeatureValueWithType:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateUndefined : CoreML.MLFeatureType -> CoreML.MLFeatureValue

Parameters

type
MLFeatureType

The kind of feature to create.

Returns

Attributes

Applies to