Compartilhar via


IMLCustomModel Interface

Definição

Interface que define um modelo CoreML personalizado.

[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
Derivado
Atributos
Implementações

Propriedades

Handle

Manipule (ponteiro) para a representação de objeto não gerenciado.

(Herdado de INativeObject)

Métodos

GetPrediction(IMLFeatureProvider, MLPredictionOptions, NSError)

Retorna a previsão do modelo para , considerando o .

Métodos de Extensão

GetPredictions(IMLCustomModel, IMLBatchProvider, MLPredictionOptions, NSError)

Retorna o IMLBatchProvider que descreve as saídas do modelo determinado e .

Aplica-se a