1 write to _batches
Microsoft.ML.PerformanceTests (1)
StochasticDualCoordinateAscentClassifierBench.cs (1)
150
_batches
= new IrisData[_batchSizes.Length][];
5 references to _batches
Microsoft.ML.PerformanceTests (5)
StochasticDualCoordinateAscentClassifierBench.cs (5)
151
for (int i = 0; i <
_batches
.Length; i++)
158
_batches
[i] = batch;
166
public void PredictIrisBatchOf1() => _trainedModel.Transform(_mlContext.Data.LoadFromEnumerable(
_batches
[0]));
169
public void PredictIrisBatchOf2() => _trainedModel.Transform(_mlContext.Data.LoadFromEnumerable(
_batches
[1]));
172
public void PredictIrisBatchOf5() => _trainedModel.Transform(_mlContext.Data.LoadFromEnumerable(
_batches
[2]));