xamarinios
namespace CoreML
{
[Introduced(PlatformName.WatchOS, 5, 0, PlatformArchitecture.All, null)]
[Introduced(PlatformName.TvOS, 12, 0, PlatformArchitecture.All, null)]
[Introduced(PlatformName.MacOSX, 10, 14, PlatformArchitecture.All, null)]
[Introduced(PlatformName.iOS, 12, 0, PlatformArchitecture.All, null)]
[Protocol(Name = "MLCustomModel", WrapperType = typeof(MLCustomModelWrapper))]
[ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetPrediction", ParameterByRef = new[] { false, false, true }, ParameterType = new[] { typeof(IMLFeatureProvider), typeof(MLPredictionOptions), typeof(NSError) }, ReturnType = typeof(IMLFeatureProvider), Selector = "predictionFromFeatures:options:error:")]
[ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetPredictions", ParameterByRef = new[] { false, false, true }, ParameterType = new[] { typeof(IMLBatchProvider), typeof(MLPredictionOptions), typeof(NSError) }, ReturnType = typeof(IMLBatchProvider), Selector = "predictionsFromBatch:options:error:")]
public interface IMLCustomModel : INativeObject, IDisposable
{
[BindingImpl(BindingImplOptions.GeneratedCode | BindingImplOptions.Optimizable)]
[Export("predictionFromFeatures:options:error:")]
[Preserve(Conditional = true)]
IMLFeatureProvider? GetPrediction(IMLFeatureProvider! inputFeatures, MLPredictionOptions! options, out NSError! error);
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to xamarinios | |
Assembly | Xamarin.iOS , Version=0.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This framework does not have platform annotations. |