MLFeatureValue.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Create(NSUrl, CGImagePropertyOrientation, MLImageConstraint, MLFeatureValueImageOption, NSError)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue? Create(Foundation.NSUrl url, ImageIO.CGImagePropertyOrientation orientation, CoreML.MLImageConstraint constraint, CoreML.MLFeatureValueImageOption? imageOptions, out Foundation.NSError? error);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : Foundation.NSUrl * ImageIO.CGImagePropertyOrientation * CoreML.MLImageConstraint * CoreML.MLFeatureValueImageOption * NSError -> CoreML.MLFeatureValue
Parameters
- url
- NSUrl
- orientation
- CGImagePropertyOrientation
- constraint
- MLImageConstraint
- imageOptions
- MLFeatureValueImageOption
- error
- NSError
Returns
- Attributes
Applies to
Create(CGImage, IntPtr, IntPtr, CVPixelFormatType, MLFeatureValueImageOption, NSError)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue? Create(CoreGraphics.CGImage image, IntPtr pixelsWide, IntPtr pixelsHigh, CoreVideo.CVPixelFormatType pixelFormatType, CoreML.MLFeatureValueImageOption? imageOptions, out Foundation.NSError? error);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : CoreGraphics.CGImage * nativeint * nativeint * CoreVideo.CVPixelFormatType * CoreML.MLFeatureValueImageOption * NSError -> CoreML.MLFeatureValue
Parameters
- image
- CGImage
- pixelsWide
-
IntPtr
nativeint
- pixelsHigh
-
IntPtr
nativeint
- pixelFormatType
- CVPixelFormatType
- imageOptions
- MLFeatureValueImageOption
- error
- NSError
Returns
- Attributes
Applies to
Create(CGImage, IntPtr, IntPtr, CVPixelFormatType, NSDictionary, NSError)
[Foundation.Export("featureValueWithCGImage:pixelsWide:pixelsHigh:pixelFormatType:options:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue? Create(CoreGraphics.CGImage image, IntPtr pixelsWide, IntPtr pixelsHigh, CoreVideo.CVPixelFormatType pixelFormatType, Foundation.NSDictionary? options, out Foundation.NSError? error);
[<Foundation.Export("featureValueWithCGImage:pixelsWide:pixelsHigh:pixelFormatType:options:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : CoreGraphics.CGImage * nativeint * nativeint * CoreVideo.CVPixelFormatType * Foundation.NSDictionary * NSError -> CoreML.MLFeatureValue
Parameters
- image
- CGImage
- pixelsWide
-
IntPtr
nativeint
- pixelsHigh
-
IntPtr
nativeint
- pixelFormatType
- CVPixelFormatType
- options
- NSDictionary
- error
- NSError
Returns
- Attributes
Applies to
Create(NSUrl, IntPtr, IntPtr, CVPixelFormatType, MLFeatureValueImageOption, NSError)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue? Create(Foundation.NSUrl url, IntPtr pixelsWide, IntPtr pixelsHigh, CoreVideo.CVPixelFormatType pixelFormatType, CoreML.MLFeatureValueImageOption? imageOptions, out Foundation.NSError? error);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : Foundation.NSUrl * nativeint * nativeint * CoreVideo.CVPixelFormatType * CoreML.MLFeatureValueImageOption * NSError -> CoreML.MLFeatureValue
Parameters
- url
- NSUrl
- pixelsWide
-
IntPtr
nativeint
- pixelsHigh
-
IntPtr
nativeint
- pixelFormatType
- CVPixelFormatType
- imageOptions
- MLFeatureValueImageOption
- error
- NSError
Returns
- Attributes
Applies to
Create(CGImage, CGImagePropertyOrientation, IntPtr, IntPtr, CVPixelFormatType, NSDictionary, NSError)
[Foundation.Export("featureValueWithCGImage:orientation:pixelsWide:pixelsHigh:pixelFormatType:options:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue? Create(CoreGraphics.CGImage image, ImageIO.CGImagePropertyOrientation orientation, IntPtr pixelsWide, IntPtr pixelsHigh, CoreVideo.CVPixelFormatType pixelFormatType, Foundation.NSDictionary? options, out Foundation.NSError? error);
[<Foundation.Export("featureValueWithCGImage:orientation:pixelsWide:pixelsHigh:pixelFormatType:options:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : CoreGraphics.CGImage * ImageIO.CGImagePropertyOrientation * nativeint * nativeint * CoreVideo.CVPixelFormatType * Foundation.NSDictionary * NSError -> CoreML.MLFeatureValue
Parameters
- image
- CGImage
- orientation
- CGImagePropertyOrientation
- pixelsWide
-
IntPtr
nativeint
- pixelsHigh
-
IntPtr
nativeint
- pixelFormatType
- CVPixelFormatType
- options
- NSDictionary
- error
- NSError
Returns
- Attributes
Applies to
Create(CGImage, CGImagePropertyOrientation, IntPtr, IntPtr, CVPixelFormatType, MLFeatureValueImageOption, NSError)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue? Create(CoreGraphics.CGImage image, ImageIO.CGImagePropertyOrientation orientation, IntPtr pixelsWide, IntPtr pixelsHigh, CoreVideo.CVPixelFormatType pixelFormatType, CoreML.MLFeatureValueImageOption? imageOptions, out Foundation.NSError? error);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : CoreGraphics.CGImage * ImageIO.CGImagePropertyOrientation * nativeint * nativeint * CoreVideo.CVPixelFormatType * CoreML.MLFeatureValueImageOption * NSError -> CoreML.MLFeatureValue
Parameters
- image
- CGImage
- orientation
- CGImagePropertyOrientation
- pixelsWide
-
IntPtr
nativeint
- pixelsHigh
-
IntPtr
nativeint
- pixelFormatType
- CVPixelFormatType
- imageOptions
- MLFeatureValueImageOption
- error
- NSError
Returns
- Attributes
Applies to
Create(CGImage, CGImagePropertyOrientation, MLImageConstraint, NSDictionary, NSError)
[Foundation.Export("featureValueWithCGImage:orientation:constraint:options:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue? Create(CoreGraphics.CGImage image, ImageIO.CGImagePropertyOrientation orientation, CoreML.MLImageConstraint constraint, Foundation.NSDictionary? options, out Foundation.NSError? error);
[<Foundation.Export("featureValueWithCGImage:orientation:constraint:options:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : CoreGraphics.CGImage * ImageIO.CGImagePropertyOrientation * CoreML.MLImageConstraint * Foundation.NSDictionary * NSError -> CoreML.MLFeatureValue
Parameters
- image
- CGImage
- orientation
- CGImagePropertyOrientation
- constraint
- MLImageConstraint
- options
- NSDictionary
- error
- NSError
Returns
- Attributes
Applies to
Create(NSUrl, CGImagePropertyOrientation, IntPtr, IntPtr, CVPixelFormatType, MLFeatureValueImageOption, NSError)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue? Create(Foundation.NSUrl url, ImageIO.CGImagePropertyOrientation orientation, IntPtr pixelsWide, IntPtr pixelsHigh, CoreVideo.CVPixelFormatType pixelFormatType, CoreML.MLFeatureValueImageOption? imageOptions, out Foundation.NSError? error);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : Foundation.NSUrl * ImageIO.CGImagePropertyOrientation * nativeint * nativeint * CoreVideo.CVPixelFormatType * CoreML.MLFeatureValueImageOption * NSError -> CoreML.MLFeatureValue
Parameters
- url
- NSUrl
- orientation
- CGImagePropertyOrientation
- pixelsWide
-
IntPtr
nativeint
- pixelsHigh
-
IntPtr
nativeint
- pixelFormatType
- CVPixelFormatType
- imageOptions
- MLFeatureValueImageOption
- error
- NSError
Returns
- Attributes
Applies to
Create(NSUrl, CGImagePropertyOrientation, IntPtr, IntPtr, CVPixelFormatType, NSDictionary, NSError)
[Foundation.Export("featureValueWithImageAtURL:orientation:pixelsWide:pixelsHigh:pixelFormatType:options:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue? Create(Foundation.NSUrl url, ImageIO.CGImagePropertyOrientation orientation, IntPtr pixelsWide, IntPtr pixelsHigh, CoreVideo.CVPixelFormatType pixelFormatType, Foundation.NSDictionary? options, out Foundation.NSError? error);
[<Foundation.Export("featureValueWithImageAtURL:orientation:pixelsWide:pixelsHigh:pixelFormatType:options:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : Foundation.NSUrl * ImageIO.CGImagePropertyOrientation * nativeint * nativeint * CoreVideo.CVPixelFormatType * Foundation.NSDictionary * NSError -> CoreML.MLFeatureValue
Parameters
- url
- NSUrl
- orientation
- CGImagePropertyOrientation
- pixelsWide
-
IntPtr
nativeint
- pixelsHigh
-
IntPtr
nativeint
- pixelFormatType
- CVPixelFormatType
- options
- NSDictionary
- error
- NSError
Returns
- Attributes
Applies to
Create(NSUrl, IntPtr, IntPtr, CVPixelFormatType, NSDictionary, NSError)
[Foundation.Export("featureValueWithImageAtURL:pixelsWide:pixelsHigh:pixelFormatType:options:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue? Create(Foundation.NSUrl url, IntPtr pixelsWide, IntPtr pixelsHigh, CoreVideo.CVPixelFormatType pixelFormatType, Foundation.NSDictionary? options, out Foundation.NSError? error);
[<Foundation.Export("featureValueWithImageAtURL:pixelsWide:pixelsHigh:pixelFormatType:options:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : Foundation.NSUrl * nativeint * nativeint * CoreVideo.CVPixelFormatType * Foundation.NSDictionary * NSError -> CoreML.MLFeatureValue
Parameters
- url
- NSUrl
- pixelsWide
-
IntPtr
nativeint
- pixelsHigh
-
IntPtr
nativeint
- pixelFormatType
- CVPixelFormatType
- options
- NSDictionary
- error
- NSError
Returns
- Attributes
Applies to
Create(CGImage, CGImagePropertyOrientation, MLImageConstraint, MLFeatureValueImageOption, NSError)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue? Create(CoreGraphics.CGImage image, ImageIO.CGImagePropertyOrientation orientation, CoreML.MLImageConstraint constraint, CoreML.MLFeatureValueImageOption? imageOptions, out Foundation.NSError? error);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : CoreGraphics.CGImage * ImageIO.CGImagePropertyOrientation * CoreML.MLImageConstraint * CoreML.MLFeatureValueImageOption * NSError -> CoreML.MLFeatureValue
Parameters
- image
- CGImage
- orientation
- CGImagePropertyOrientation
- constraint
- MLImageConstraint
- imageOptions
- MLFeatureValueImageOption
- error
- NSError
Returns
- Attributes
Applies to
Create(NSUrl, CGImagePropertyOrientation, MLImageConstraint, NSDictionary, NSError)
[Foundation.Export("featureValueWithImageAtURL:orientation:constraint:options:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue? Create(Foundation.NSUrl url, ImageIO.CGImagePropertyOrientation orientation, CoreML.MLImageConstraint constraint, Foundation.NSDictionary? options, out Foundation.NSError? error);
[<Foundation.Export("featureValueWithImageAtURL:orientation:constraint:options:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : Foundation.NSUrl * ImageIO.CGImagePropertyOrientation * CoreML.MLImageConstraint * Foundation.NSDictionary * NSError -> CoreML.MLFeatureValue
Parameters
- url
- NSUrl
- orientation
- CGImagePropertyOrientation
- constraint
- MLImageConstraint
- options
- NSDictionary
- error
- NSError
Returns
- Attributes
Applies to
Create(NSUrl, MLImageConstraint, MLFeatureValueImageOption, NSError)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue? Create(Foundation.NSUrl url, CoreML.MLImageConstraint constraint, CoreML.MLFeatureValueImageOption? imageOptions, out Foundation.NSError? error);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : Foundation.NSUrl * CoreML.MLImageConstraint * CoreML.MLFeatureValueImageOption * NSError -> CoreML.MLFeatureValue
Parameters
- url
- NSUrl
- constraint
- MLImageConstraint
- imageOptions
- MLFeatureValueImageOption
- error
- NSError
Returns
- Attributes
Applies to
Create(CGImage, MLImageConstraint, NSDictionary, NSError)
[Foundation.Export("featureValueWithCGImage:constraint:options:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue? Create(CoreGraphics.CGImage image, CoreML.MLImageConstraint constraint, Foundation.NSDictionary? options, out Foundation.NSError? error);
[<Foundation.Export("featureValueWithCGImage:constraint:options:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : CoreGraphics.CGImage * CoreML.MLImageConstraint * Foundation.NSDictionary * NSError -> CoreML.MLFeatureValue
Parameters
- image
- CGImage
- constraint
- MLImageConstraint
- options
- NSDictionary
- error
- NSError
Returns
- Attributes
Applies to
Create(NSUrl, MLImageConstraint, NSDictionary, NSError)
[Foundation.Export("featureValueWithImageAtURL:constraint:options:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue? Create(Foundation.NSUrl url, CoreML.MLImageConstraint constraint, Foundation.NSDictionary? options, out Foundation.NSError? error);
[<Foundation.Export("featureValueWithImageAtURL:constraint:options:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : Foundation.NSUrl * CoreML.MLImageConstraint * Foundation.NSDictionary * NSError -> CoreML.MLFeatureValue
Parameters
- url
- NSUrl
- constraint
- MLImageConstraint
- options
- NSDictionary
- error
- NSError
Returns
- Attributes
Applies to
Create(CGImage, MLImageConstraint, MLFeatureValueImageOption, NSError)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue? Create(CoreGraphics.CGImage image, CoreML.MLImageConstraint constraint, CoreML.MLFeatureValueImageOption? imageOptions, out Foundation.NSError? error);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : CoreGraphics.CGImage * CoreML.MLImageConstraint * CoreML.MLFeatureValueImageOption * NSError -> CoreML.MLFeatureValue
Parameters
- image
- CGImage
- constraint
- MLImageConstraint
- imageOptions
- MLFeatureValueImageOption
- error
- NSError
Returns
- Attributes
Applies to
Create(NSDictionary<NSObject,NSNumber>, NSError)
Returns an MLFeatureValue that wraps a dictionary, and reports any errors in error.
[Foundation.Export("featureValueWithDictionary:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue? Create(Foundation.NSDictionary<Foundation.NSObject,Foundation.NSNumber> value, out Foundation.NSError error);
[<Foundation.Export("featureValueWithDictionary:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : Foundation.NSDictionary<Foundation.NSObject, Foundation.NSNumber> * NSError -> CoreML.MLFeatureValue
Parameters
- value
- NSDictionary<NSObject,NSNumber>
A dictionary with which to create and return a new feature value.
- error
- NSError
If not null, the error that occurred.
Returns
- Attributes
Applies to
Create(String)
Returns an MLFeatureValue that wraps a string.
[Foundation.Export("featureValueWithString:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue Create(string value);
[<Foundation.Export("featureValueWithString:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : string -> CoreML.MLFeatureValue
Parameters
- value
- String
A string with which to create and return a new feature value.
Returns
- Attributes
Applies to
Create(Int64)
Returns an MLFeatureValue that wraps a 64-bit integer.
[Foundation.Export("featureValueWithInt64:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue Create(long value);
[<Foundation.Export("featureValueWithInt64:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : int64 -> CoreML.MLFeatureValue
Parameters
- value
- Int64
A 64-bit integer with which to create and return a new feature value.
Returns
- Attributes
Applies to
Create(Double)
Returns an MLFeatureValue that wraps a double.
[Foundation.Export("featureValueWithDouble:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue Create(double value);
[<Foundation.Export("featureValueWithDouble:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : double -> CoreML.MLFeatureValue
Parameters
- value
- Double
A double with which to create and return a new feature value.
Returns
- Attributes
Applies to
Create(CVPixelBuffer)
Returns an MLFeatureValue that wraps a CVPixelBuffer.
[Foundation.Export("featureValueWithPixelBuffer:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue Create(CoreVideo.CVPixelBuffer value);
[<Foundation.Export("featureValueWithPixelBuffer:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : CoreVideo.CVPixelBuffer -> CoreML.MLFeatureValue
Parameters
- value
- CVPixelBuffer
A pixel buffer with which to create and return a new feature value.
Returns
- Attributes
Applies to
Create(MLSequence)
Returns a MLFeatureValue representing the sequence.
[Foundation.Export("featureValueWithSequence:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue Create(CoreML.MLSequence sequence);
[<Foundation.Export("featureValueWithSequence:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : CoreML.MLSequence -> CoreML.MLFeatureValue
Parameters
- sequence
- MLSequence
A sequence of data.
Returns
- Attributes
Applies to
Create(MLMultiArray)
Returns an MLFeatureValue that wraps an MLMultiArray.
[Foundation.Export("featureValueWithMultiArray:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static CoreML.MLFeatureValue Create(CoreML.MLMultiArray value);
[<Foundation.Export("featureValueWithMultiArray:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : CoreML.MLMultiArray -> CoreML.MLFeatureValue
Parameters
- value
- MLMultiArray
A multiarray with which to create and return a new feature value.
Returns
- Attributes