2 writes to ColumnCount
Microsoft.ML.Data (2)
DataLoadSave\Transpose\TransposeLoader.cs (1)
473ColumnCount = schemaView.Schema.Count
DataLoadSave\Transpose\TransposeSaver.cs (1)
117header.ColumnCount = cols.Length;
12 references to ColumnCount
Microsoft.ML.Data (12)
DataLoadSave\Transpose\TransposeLoader.cs (12)
254Host.CheckDecode(schema.Count == _parent._header.ColumnCount); 414_entries = new SubIdvEntry.TransposedSubIdv[_header.ColumnCount]; 419_colTransposers = new Transposer[_header.ColumnCount]; 447_entries = new SubIdvEntry.TransposedSubIdv[_header.ColumnCount]; 452_colTransposers = new Transposer[_header.ColumnCount]; 477_entries = new SubIdvEntry.TransposedSubIdv[_header.ColumnCount]; 597_host.CheckDecode(header.ColumnCount >= 0, "Column count cannot be negative"); 599if (header.ColumnCount != 0 && header.SubIdvTableOffset < Header.HeaderSize) 639_host.CheckParam(0 <= col && col < _header.ColumnCount, nameof(col)); 646_host.CheckParam(0 <= col && col < _header.ColumnCount, nameof(col)); 720_host.Assert(0 <= col && col < _header.ColumnCount); 770Utils.BuildSubsetMaps(_parent._header.ColumnCount, columnsNeeded, out _actives, out _colToActivesIndex);