Compartilhar via


PredictionEnginePool<TData,TPrediction> Construtor

Definição

public PredictionEnginePool (IServiceProvider serviceProvider, Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.ML.MLOptions> mlContextOptions, Microsoft.Extensions.Options.IOptionsFactory<Microsoft.Extensions.ML.PredictionEnginePoolOptions<TData,TPrediction>> predictionEngineOptions);
new Microsoft.Extensions.ML.PredictionEnginePool<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))> : IServiceProvider * Microsoft.Extensions.Options.IOptions<Microsoft.Extensions.ML.MLOptions> * Microsoft.Extensions.Options.IOptionsFactory<Microsoft.Extensions.ML.PredictionEnginePoolOptions<'Data, 'Prediction>> -> Microsoft.Extensions.ML.PredictionEnginePool<'Data, 'Prediction (requires 'Data : null and 'Prediction : null and 'Prediction : (new : unit -> 'Prediction))>
Public Sub New (serviceProvider As IServiceProvider, mlContextOptions As IOptions(Of MLOptions), predictionEngineOptions As IOptionsFactory(Of PredictionEnginePoolOptions(Of TData, TPrediction)))

Parâmetros

serviceProvider
IServiceProvider
mlContextOptions
IOptions<MLOptions>
predictionEngineOptions
IOptionsFactory<PredictionEnginePoolOptions<TData,TPrediction>>

Aplica-se a