24 references to ColumnCount
Microsoft.ML.Data (24)
DataView\BatchDataViewMapperBase.cs (1)
48Contracts.Assert(active.Length == SchemaBindings.ColumnCount);
Scorers\RowToRowScorerBase.cs (4)
91Contracts.Assert(active.Length == bindings.ColumnCount); 247Ch.Assert(active.Length == _bindings.ColumnCount); 278Ch.Check(column.Index < _bindings.ColumnCount); 478Contracts.Assert(active.Length == ColumnCount);
Transforms\BindingsWrappedRowCursor.cs (1)
42Ch.Check(column.Index < _bindings.ColumnCount, nameof(column));
Transforms\ColumnBindingsBase.cs (9)
278for (int i = 0; i < inputBindings.ColumnCount; i++) 473Contracts.Assert(0 <= res && res < ColumnCount); 489Contracts.CheckParam(0 <= col && col < ColumnCount, nameof(col)); 500Contracts.CheckParam(0 <= col && col < ColumnCount, nameof(col)); 511Contracts.CheckParam(0 <= col && col < ColumnCount, nameof(col)); 524Contracts.CheckParam(0 <= col && col < ColumnCount, nameof(col)); 537Contracts.CheckParam(0 <= col && col < ColumnCount, nameof(col)); 590=> Utils.BuildArray(ColumnCount, predicate); 596=> Utils.BuildArray(ColumnCount, columns);
Transforms\GenerateNumberTransform.cs (2)
395Ch.CheckParam(active == null || active.Length == bindings.ColumnCount, nameof(active)); 422Ch.Check(column.Index < _bindings.ColumnCount);
Transforms\PerGroupTransformBase.cs (3)
67for (int col = 0; col < ColumnCount; col++) 187Contracts.Assert(active.Length == bindings.ColumnCount); 280Ch.Check(column.Index < _parent.GetBindings().ColumnCount);
Transforms\TransformBase.cs (4)
773Host.Assert(0 <= col && col < _bindings.ColumnCount); 780Host.CheckParam(0 <= col && col < _bindings.ColumnCount, nameof(col)); 857Ch.Assert(active == null || active.Length == parent._bindings.ColumnCount); 920Ch.Check(column.Index < _bindings.ColumnCount);