2 writes to _mappers
Microsoft.ML.Ensemble (2)
Trainer\Multiclass\EnsembleMulticlassModelParameters.cs (2)
54
InitializeMappers(out
_mappers
, out _inputType, out _outputType);
60
InitializeMappers(out
_mappers
, out _inputType, out _outputType);
7 references to _mappers
Microsoft.ML.Ensemble (7)
Trainer\Multiclass\EnsembleMulticlassModelParameters.cs (7)
116
var features = new VBuffer<Single>[
_mappers
.Length];
117
var predictions = new VBuffer<Single>[
_mappers
.Length];
118
var maps = new ValueMapper<VBuffer<Single>, VBuffer<Single>>[
_mappers
.Length];
119
for (int i = 0; i <
_mappers
.Length; i++)
123
Host.Assert(
_mappers
[i].OutputType.GetVectorSize() > 0);
124
maps[i] =
_mappers
[i].GetMapper<VBuffer<Single>, VBuffer<Single>>();
146
Host.Check(predictions[i].Length ==
_mappers
[i].OutputType.GetVectorSize());