11 references to PredictionEnginePool
Microsoft.Extensions.ML (9)
PredictionEnginePoolExtensions.cs (3)
8
/// Extension methods for <see cref="
PredictionEnginePool
{TextDataViewType, TPrediction}"/>.
21
this
PredictionEnginePool
<TData, TPrediction> predictionEnginePool, TData example)
40
this
PredictionEnginePool
<TData, TPrediction> predictionEnginePool, string modelName, TData example)
PredictionEnginePoolOptions.cs (1)
8
/// Specifies the options to use when creating a <see cref="
PredictionEnginePool
{TData, TPrediction}"/>.
ServiceCollectionExtensions.cs (5)
18
/// Adds a <see cref="
PredictionEnginePool
{TData, TPrediction}"/> and required config services to the service collection.
32
services.AddSingleton<
PredictionEnginePool
<TData, TPrediction>>());
36
/// Adds a <see cref="
PredictionEnginePool
{TData, TPrediction}"/> and required config services to the service collection.
49
Func<IServiceProvider,
PredictionEnginePool
<TData, TPrediction>> implementationFactory)
70
/// Adds only the required config services for <see cref="
PredictionEnginePool
{TData, TPrediction}"/> to the service collection.
Microsoft.Extensions.ML.Tests (2)
PredictionEnginePoolTests.cs (2)
38
var
pool = sp.GetRequiredService<
PredictionEnginePool
<SentimentData, SentimentPrediction>>();