1 write to _columns
Microsoft.ML.Data (1)
DataView\ArrayDataViewBuilder.cs (1)
41_columns = new List<Column>();
17 references to _columns
Microsoft.ML.Data (17)
DataView\ArrayDataViewBuilder.cs (17)
30if (_columns.Count == 0) 32return _columns[0].Length; 55if (_columns.Count > 0 && values.Length != _columns[0].Length) 56throw _host.Except("Previous inputs were of length {0}, but new input is of length {1}", _columns[0].Length, values.Length); 71_columns.Add(new AssignmentColumn<T>(type, values)); 89_columns.Add(new AssignmentColumn<T1>(new KeyDataViewType(kind.ToType(), keyCount), values)); 103_columns.Add(col); 115_columns.Add(new ArrayToVBufferColumn<T>(itemType, values)); 128_columns.Add(col); 140_columns.Add(new ArrayToSparseVBufferColumn<T>(itemType, combiner, values)); 151_columns.Add(new VBufferColumn<T>(itemType, values)); 163_columns.Add(new VBufferColumn<T>(itemType, values)); 174_columns.Add(new StringToTextColumn(values)); 191_host.Check(_columns.Count > 0, "Cannot construct data-view with neither any columns nor a specified row count"); 215_host.Assert(builder._names.Count == builder._columns.Count); 216_columns = builder._columns.ToArray();