共用方式為


PredictionEnginePool<TData,TPrediction> 建構函式

定義

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)))

參數

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

適用於