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]; 398for (int i = 0; i < _parent._columns.Length; i++) 400inputSchema.TryGetColumnIndex(_parent.ColumnPairs[i].inputColumnName, out _srcCols[i]); 402if (!CanConvertToType(Host, srcCol.Type, _parent._columns[i].OutputKind.ToInternalDataKind(), _parent._columns[i].OutputKeyCount, 407_parent._columns[i].InputColumnName, srcCol.Type, itemType); 436var result = new DataViewSchema.DetachedColumn[_parent._columns.Length]; 437for (int i = 0; i < _parent._columns.Length; i++) 462result[i] = new DataViewSchema.DetachedColumn(_parent._columns[i].Name, _types[i], builder.ToAnnotations()); 470Contracts.Assert(0 <= iinfo && iinfo < _parent.ColumnPairs.Length); 481for (int iinfo = 0; iinfo < _parent._columns.Length; ++iinfo) 483string inputColumnName = _parent._columns[iinfo].InputColumnName; 486ctx.RemoveColumn(_parent._columns[iinfo].Name, false); 491ctx.AddIntermediateVariable(_types[iinfo], _parent._columns[iinfo].Name))) 493ctx.RemoveColumn(_parent._columns[iinfo].Name, true); 505var t = _parent._columns[iinfo].OutputKind.ToInternalDataKind().ToType();