1 write to _columns
Microsoft.ML.Transforms (1)
ExpressionTransformer.cs (1)
84
_columns
= columns;
18 references to _columns
Microsoft.ML.Transforms (18)
ExpressionTransformer.cs (18)
157
var columns = new ExpressionTransformer.ColumnInfo[
_columns
.Length];
158
for (int i = 0; i <
_columns
.Length; i++)
161
var inputTypes = new DataViewType[
_columns
[i].InputColumnNames.Length];
162
var ivec = FindVectorInputColumn(_host,
_columns
[i].InputColumnNames, input.Schema, inputTypes);
163
var node = ParseAndBindLambda(_host,
_columns
[i].Expression, ivec, inputTypes, out var perm);
164
columns[i] = new ExpressionTransformer.ColumnInfo(_host,
_columns
[i].InputColumnNames, inputTypes,
_columns
[i].Expression,
_columns
[i].Name, ivec, node, perm);
173
for (int i = 0; i <
_columns
.Length; i++)
175
for (int j = 0; j <
_columns
[i].InputColumnNames.Length; j++)
177
if (!inputSchema.TryFindColumn(
_columns
[i].InputColumnNames[j], out var inputCol))
178
throw _host.ExceptSchemaMismatch(nameof(inputSchema), "input",
_columns
[i].InputColumnNames[j]);
182
var inputTypes = new DataViewType[
_columns
[i].InputColumnNames.Length];
183
var ivec = FindVectorInputColumn(_host,
_columns
[i].InputColumnNames, inputSchema, inputTypes);
184
var node = ParseAndBindLambda(_host,
_columns
[i].Expression, ivec, inputTypes, out var perm);
196
inputSchema.TryFindColumn(
_columns
[i].InputColumnNames[ivec], out var vectorCol);
205
var outputSchemaShapeColumn = new SchemaShape.Column(
_columns
[i].Name, outputVectorKind, typeRes, false, new SchemaShape(metadata));
206
columnDictionary[
_columns
[i].Name] = outputSchemaShapeColumn;