Condividi tramite


IMLCustomModel Interfaccia

Definizione

Interfaccia che definisce un modello CoreML personalizzato.

[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
Derivato
Attributi
Implementazioni

Proprietà

Handle

Handle (puntatore) alla rappresentazione dell'oggetto non gestito.

(Ereditato da INativeObject)

Metodi

GetPrediction(IMLFeatureProvider, MLPredictionOptions, NSError)

Restituisce la stima del modello per , in base a .

Metodi di estensione

GetPredictions(IMLCustomModel, IMLBatchProvider, MLPredictionOptions, NSError)

Restituisce l'oggetto IMLBatchProvider che descrive gli output del modello specificato e .

Si applica a