1 write to Services
Microsoft.Extensions.ML (1)
Builder\PredictionEnginePoolBuilder.cs (1)
25
Services
= services ?? throw new ArgumentException(nameof(services));
4 references to Services
Microsoft.Extensions.ML (4)
Builder\BuilderExtensions.cs (4)
135
builder.
Services
.AddTransient<UriModelLoader, UriModelLoader>();
136
builder.
Services
.AddOptions<PredictionEnginePoolOptions<TData, TPrediction>>(modelName)
222
builder.
Services
.AddTransient<FileModelLoader, FileModelLoader>();
223
builder.
Services
.AddOptions<PredictionEnginePoolOptions<TData, TPrediction>>(modelName)