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]; 174for (int i = 0; i < _parent.ColumnPairs.Length; i++) 191var infos = new ColInfo[_parent.ColumnPairs.Length]; 192for (int i = 0; i < _parent.ColumnPairs.Length; i++) 194if (!inputSchema.TryGetColumnIndex(_parent.ColumnPairs[i].inputColumnName, out int colSrc)) 195throw Host.ExceptSchemaMismatch(nameof(inputSchema), "input", _parent.ColumnPairs[i].inputColumnName); 197_parent.CheckInputColumn(inputSchema, i, colSrc); 198infos[i] = new ColInfo(_parent.ColumnPairs[i].outputColumnName, _parent.ColumnPairs[i].inputColumnName, type); 205var result = new DataViewSchema.DetachedColumn[_parent.ColumnPairs.Length]; 206for (int i = 0; i < _parent.ColumnPairs.Length; i++) 208InputSchema.TryGetColumnIndex(_parent.ColumnPairs[i].inputColumnName, out int colIndex); 213result[i] = new DataViewSchema.DetachedColumn(_parent.ColumnPairs[i].outputColumnName, _types[i], builder.ToAnnotations());