2 writes to _columns
Microsoft.ML.Data (2)
Transforms\KeyToVector.cs (2)
125
_columns
= columns.ToArray();
187
_columns
= new KeyToVectorMappingEstimator.ColumnOptions[columnsLength];
15 references to _columns
Microsoft.ML.Data (15)
Transforms\KeyToVector.cs (15)
98
internal IReadOnlyCollection<KeyToVectorMappingEstimator.ColumnOptions> Columns =>
_columns
.AsReadOnly();
155
Host.Assert(
_columns
.Length == ColumnPairs.Length);
156
for (int i = 0; i <
_columns
.Length; i++)
157
ctx.Writer.WriteBoolByte(
_columns
[i].OutputCountVector);
189
_columns
[i] = new KeyToVectorMappingEstimator.ColumnOptions(ColumnPairs[i].outputColumnName, ColumnPairs[i].inputColumnName, bags[i]);
259
if (_parent.
_columns
[i].OutputCountVector || valueCount == 1)
322
if (_parent.
_columns
[iinfo].OutputCountVector || srcType is PrimitiveDataViewType)
344
if (!_parent.
_columns
[iinfo].OutputCountVector && srcValueCount > 0)
353
if (!_parent.
_columns
[iinfo].OutputCountVector || srcType is PrimitiveDataViewType)
458
if (_parent.
_columns
[iinfo].OutputCountVector)
509
Host.Assert(_parent.
_columns
[iinfo].OutputCountVector);
555
Host.Assert(!_parent.
_columns
[iinfo].OutputCountVector);
677
if (!(_parent.
_columns
[iinfo].OutputCountVector || srcVectorType.Size == 1))
717
var isOutputCountVector = _parent.
_columns
[iinfo].OutputCountVector;
727
if (_parent.
_columns
[iinfo].OutputCountVector && info.TypeSrc is VectorDataViewType)