PredictionEnginePool<TData,TPrediction> 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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
- predictionEngineOptions
- IOptionsFactory<PredictionEnginePoolOptions<TData,TPrediction>>