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)
30
if (
_columns
.Count == 0)
32
return
_columns
[0].Length;
55
if (
_columns
.Count > 0 && values.Length !=
_columns
[0].Length)
56
throw _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();