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)
98internal IReadOnlyCollection<KeyToVectorMappingEstimator.ColumnOptions> Columns => _columns.AsReadOnly(); 155Host.Assert(_columns.Length == ColumnPairs.Length); 156for (int i = 0; i < _columns.Length; i++) 157ctx.Writer.WriteBoolByte(_columns[i].OutputCountVector); 189_columns[i] = new KeyToVectorMappingEstimator.ColumnOptions(ColumnPairs[i].outputColumnName, ColumnPairs[i].inputColumnName, bags[i]); 259if (_parent._columns[i].OutputCountVector || valueCount == 1) 322if (_parent._columns[iinfo].OutputCountVector || srcType is PrimitiveDataViewType) 344if (!_parent._columns[iinfo].OutputCountVector && srcValueCount > 0) 353if (!_parent._columns[iinfo].OutputCountVector || srcType is PrimitiveDataViewType) 458if (_parent._columns[iinfo].OutputCountVector) 509Host.Assert(_parent._columns[iinfo].OutputCountVector); 555Host.Assert(!_parent._columns[iinfo].OutputCountVector); 677if (!(_parent._columns[iinfo].OutputCountVector || srcVectorType.Size == 1)) 717var isOutputCountVector = _parent._columns[iinfo].OutputCountVector; 727if (_parent._columns[iinfo].OutputCountVector && info.TypeSrc is VectorDataViewType)