1 write to _parent
Microsoft.ML.Transforms (1)
ExpressionTransformer.cs (1)
932
_parent
= parent;
18 references to _parent
Microsoft.ML.Transforms (18)
ExpressionTransformer.cs (18)
933
_inputColumnIndices = new int[
_parent
._columns.Length][];
934
for (int i = 0; i <
_parent
._columns.Length; i++)
936
var inputColumnNames =
_parent
._columns[i].InputColumnNames;
948
var outputColumns = new DataViewSchema.DetachedColumn[
_parent
._columns.Length];
953
if (
_parent
._columns[i].VectorInputColumn >= 0)
955
var vectorColumn = InputSchema[
_parent
._columns[i].InputColumnNames[
_parent
._columns[i].VectorInputColumn]];
957
type = new VectorDataViewType(
_parent
._columns[i].OutputColumnItemType, vectorColumn.Type.GetValueCount());
960
type =
_parent
._columns[i].OutputColumnItemType;
961
outputColumns[i] = new DataViewSchema.DetachedColumn(
_parent
._columns[i].OutputColumnName, type, builder.ToAnnotations());
968
_parent
.Host.Assert(0 <= iinfo && iinfo <
_parent
._columns.Length);
971
if (
_parent
._columns[iinfo].VectorInputColumn >= 0)
972
return
_parent
.MakeGetterVec(
_parent
.Host, input, iinfo);
973
return
_parent
.MakeGetter(
_parent
.Host, input, iinfo);
989
private protected override void SaveModel(ModelSaveContext ctx) =>
_parent
.SaveModel(ctx);