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