Partager via


IMLCustomModel Interface

Définition

Interface définissant un modèle CoreML personnalisé.

[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
Dérivé
Attributs
Implémente

Propriétés

Handle

Handle (pointeur) vers la représentation d’objet non managée.

(Hérité de INativeObject)

Méthodes

GetPrediction(IMLFeatureProvider, MLPredictionOptions, NSError)

Retourne la prédiction du modèle pour , en fonction de .

Méthodes d’extension

GetPredictions(IMLCustomModel, IMLBatchProvider, MLPredictionOptions, NSError)

Retourne le IMLBatchProvider qui décrit les sorties du modèle donné et .

S’applique à