1 write to _parent
Microsoft.ML.Data (1)
Transforms\Hashing.cs (1)
1319_parent = parent;
21 references to _parent
Microsoft.ML.Data (21)
Transforms\Hashing.cs (21)
1320_srcTypes = new DataViewType[_parent._columns.Length]; 1321_dstTypes = new DataViewType[_parent._columns.Length]; 1324_dstTypes[i] = _parent.GetOutputType(inputSchema, _parent._columns[i]); 1325_srcTypes[i] = inputSchema[_parent.ColumnPairs[i].inputColumnName].Type; 1331var result = new DataViewSchema.DetachedColumn[_parent.ColumnPairs.Length]; 1332for (int i = 0; i < _parent.ColumnPairs.Length; i++) 1334InputSchema.TryGetColumnIndex(_parent.ColumnPairs[i].inputColumnName, out int colIndex); 1339if (_parent._kvTypes != null && _parent._kvTypes[i] != null) 1341result[i] = new DataViewSchema.DetachedColumn(_parent.ColumnPairs[i].outputColumnName, _dstTypes[i], meta.ToAnnotations()); 1349_parent._keyValues[i].CopyTo(ref dst); 1351builder.AddKeyValues(_parent._kvTypes[i].Size, (PrimitiveDataViewType)_parent._kvTypes[i].ItemType, getter); 1354protected override Delegate MakeGetter(DataViewRow input, int iinfo, Func<int, bool> activeOutput, out Action disposer) => _parent.GetGetterCore(input, iinfo, out disposer); 1368if (_parent._columns[iinfo].Combine) 1409var seed = _parent._columns[iinfo].Seed; 1410if (_parent._columns[iinfo].UseOrderedHashing) 1421var shiftValue = ctx.AddInitializer((ulong)(32 - _parent._columns[iinfo].NumberOfBits), false); 1459for (int iinfo = 0; iinfo < _parent._columns.Length; ++iinfo) 1461var info = _parent.ColumnPairs[iinfo];