PredictionEnginePool<TData,TPrediction> Constructor
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
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
- predictionEngineOptions
- IOptionsFactory<PredictionEnginePoolOptions<TData,TPrediction>>