1 write to _parent
Microsoft.ML.Data (1)
Transforms\TypeConverting.cs (1)
395
_parent
= parent;
17 references to _parent
Microsoft.ML.Data (17)
Transforms\TypeConverting.cs (17)
396
_types = new DataViewType[
_parent
._columns.Length];
397
_srcCols = new int[
_parent
._columns.Length];
398
for (int i = 0; i <
_parent
._columns.Length; i++)
400
inputSchema.TryGetColumnIndex(
_parent
.ColumnPairs[i].inputColumnName, out _srcCols[i]);
402
if (!CanConvertToType(Host, srcCol.Type,
_parent
._columns[i].OutputKind.ToInternalDataKind(),
_parent
._columns[i].OutputKeyCount,
407
_parent
._columns[i].InputColumnName, srcCol.Type, itemType);
436
var result = new DataViewSchema.DetachedColumn[
_parent
._columns.Length];
437
for (int i = 0; i <
_parent
._columns.Length; i++)
462
result[i] = new DataViewSchema.DetachedColumn(
_parent
._columns[i].Name, _types[i], builder.ToAnnotations());
470
Contracts.Assert(0 <= iinfo && iinfo <
_parent
.ColumnPairs.Length);
481
for (int iinfo = 0; iinfo <
_parent
._columns.Length; ++iinfo)
483
string inputColumnName =
_parent
._columns[iinfo].InputColumnName;
486
ctx.RemoveColumn(
_parent
._columns[iinfo].Name, false);
491
ctx.AddIntermediateVariable(_types[iinfo],
_parent
._columns[iinfo].Name)))
493
ctx.RemoveColumn(
_parent
._columns[iinfo].Name, true);
505
var t =
_parent
._columns[iinfo].OutputKind.ToInternalDataKind().ToType();