Edit

Share via


IMLCustomModel Interface

Definition

Interface defining a custom CoreML model.

[Foundation.Protocol(Name="MLCustomModel", WrapperType=typeof(CoreML.MLCustomModelWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 5, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IMLCustomModel : IDisposable, ObjCRuntime.INativeObject
type IMLCustomModel = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

GetPrediction(IMLFeatureProvider, MLPredictionOptions, NSError)

Returns the model's prediction for , given the .

Extension Methods

GetPredictions(IMLCustomModel, IMLBatchProvider, MLPredictionOptions, NSError)

Returns the IMLBatchProvider that describes the outputs of the model given and .

Applies to