1 write to _parent
Microsoft.ML.Transforms (1)
KeyToVectorMapping.cs (1)
170
_parent
= parent;
14 references to _parent
Microsoft.ML.Transforms (14)
KeyToVectorMapping.cs (14)
172
_types = new VectorDataViewType[
_parent
.ColumnPairs.Length];
173
_bitsPerKey = new int[
_parent
.ColumnPairs.Length];
174
for (int i = 0; i <
_parent
.ColumnPairs.Length; i++)
191
var infos = new ColInfo[
_parent
.ColumnPairs.Length];
192
for (int i = 0; i <
_parent
.ColumnPairs.Length; i++)
194
if (!inputSchema.TryGetColumnIndex(
_parent
.ColumnPairs[i].inputColumnName, out int colSrc))
195
throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input",
_parent
.ColumnPairs[i].inputColumnName);
197
_parent
.CheckInputColumn(inputSchema, i, colSrc);
198
infos[i] = new ColInfo(
_parent
.ColumnPairs[i].outputColumnName,
_parent
.ColumnPairs[i].inputColumnName, type);
205
var result = new DataViewSchema.DetachedColumn[
_parent
.ColumnPairs.Length];
206
for (int i = 0; i <
_parent
.ColumnPairs.Length; i++)
208
InputSchema.TryGetColumnIndex(
_parent
.ColumnPairs[i].inputColumnName, out int colIndex);
213
result[i] = new DataViewSchema.DetachedColumn(
_parent
.ColumnPairs[i].outputColumnName, _types[i], builder.ToAnnotations());