1 write to Input
Microsoft.ML.Data (1)
Transforms\ColumnBindingsBase.cs (1)
309Input = input;
23 references to Input
Microsoft.ML.Data (18)
Scorers\RowToRowScorerBase.cs (2)
94Contracts.Assert(activeInput.Length == bindings.Input.Count); 104var activeInCols = bindings.Input.Where(c => c.Index < activeInput.Length && activeInput[c.Index]);
Transforms\ColumnBindingsBase.cs (11)
343ComputeColumnMapping(Input, names, out _colMap, out _mapIinfoToCol); 429Contracts.Assert(index < Input.Count); 467if (Input.TryGetColumnIndex(name, out src)) 469Contracts.Assert(0 <= src && src < Input.Count); 494return Input[index].Name; 505return Input[index].Type; 516return Input[index].Annotations.Schema.Select(c => new KeyValuePair<string, DataViewType>(c.Name, c.Type)); 529return Input[index].Annotations.Schema.GetColumnOrNull(kind)?.Type; 542Input[index].Annotations.GetValue(kind, ref value); 607var active = new bool[Input.Count]; 611Contracts.Assert(-InfoCount <= src && src < Input.Count);
Transforms\GenerateNumberTransform.cs (1)
236Contracts.Assert(active.Length == Input.Count);
Transforms\PerGroupTransformBase.cs (1)
66var active = new bool[Input.Count];
Transforms\TransformBase.cs (3)
425ctx.SaveNonEmptyString(Input[info.Source].Name); 436var active = new bool[Input.Count]; 447return Input.Where(col => col.Index < active.Length && active[col.Index]);
Microsoft.ML.TimeSeries (2)
SrCnnEntireAnomalyDetector.cs (2)
154_inputColumnIndex = Input[inputColumnName].Index; 168var active = new bool[Input.Count];
Microsoft.ML.Transforms (3)
OptionalColumnTransform.cs (2)
206Contracts.Assert(active.Length == Input.Count); 226return Input.Where(c => dependencies(c.Index));
ProduceIdTransform.cs (1)
76Contracts.Assert(active.Length == Input.Count);