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;
1331
var result = new DataViewSchema.DetachedColumn[
_parent
.ColumnPairs.Length];
1332
for (int i = 0; i <
_parent
.ColumnPairs.Length; i++)
1334
InputSchema.TryGetColumnIndex(
_parent
.ColumnPairs[i].inputColumnName, out int colIndex);
1339
if (
_parent
._kvTypes != null &&
_parent
._kvTypes[i] != null)
1341
result[i] = new DataViewSchema.DetachedColumn(
_parent
.ColumnPairs[i].outputColumnName, _dstTypes[i], meta.ToAnnotations());
1349
_parent
._keyValues[i].CopyTo(ref dst);
1351
builder.AddKeyValues(
_parent
._kvTypes[i].Size, (PrimitiveDataViewType)
_parent
._kvTypes[i].ItemType, getter);
1354
protected override Delegate MakeGetter(DataViewRow input, int iinfo, Func<int, bool> activeOutput, out Action disposer) =>
_parent
.GetGetterCore(input, iinfo, out disposer);
1368
if (
_parent
._columns[iinfo].Combine)
1409
var seed =
_parent
._columns[iinfo].Seed;
1410
if (
_parent
._columns[iinfo].UseOrderedHashing)
1421
var shiftValue = ctx.AddInitializer((ulong)(32 -
_parent
._columns[iinfo].NumberOfBits), false);
1459
for (int iinfo = 0; iinfo <
_parent
._columns.Length; ++iinfo)
1461
var info =
_parent
.ColumnPairs[iinfo];