1 write to Ch
Microsoft.ML.Core (1)
Data\SynchronizedCursorBase.cs (1)
45Ch = provider.Start("Cursor");
80 references to Ch
Microsoft.ML.Core (2)
Data\SynchronizedCursorBase.cs (2)
47Ch.AssertValue(input); 62Ch.Dispose();
Microsoft.ML.Data (46)
DataView\RowToRowMapperTransform.cs (4)
382Ch.Check(column.Index < _bindings.Schema.Count); 395Ch.Check(IsColumnActive(column)); 402Ch.AssertValue(_getters); 404Ch.Assert(getter != null);
DataView\Transposer.cs (5)
1272Ch.AssertValue(slicer); 1273Ch.AssertValueOrNull(pred); 1274Ch.Assert(Utils.Size(activeSplitters) == slicer._splitters.Length); 1300Ch.Check(column.Index < Schema.Count, nameof(column)); 1317Ch.Check(IsColumnActive(column));
Dirty\ChooseColumnsByIndexTransform.cs (4)
286Ch.AssertValue(bindings); 287Ch.Assert(active == null || active.Length == bindings.OutputSchema.Count); 300Ch.Check(column.Index < _bindings.OutputSchema.Count); 313Ch.Check(IsColumnActive(column));
Scorers\RowToRowScorerBase.cs (10)
241Ch.AssertValue(parent); 242Ch.AssertValue(active); 243Ch.AssertValue(activeMapperColumns); 247Ch.Assert(active.Length == _bindings.ColumnCount); 253Ch.Assert(_output.Schema == _bindings.RowMapper.OutputSchema); 278Ch.Check(column.Index < _bindings.ColumnCount); 291Ch.Check(IsColumnActive(column)); 298Ch.AssertValue(_getters); 300Ch.Assert(getter != null); 303throw Ch.Except($"Invalid TValue in GetGetter: '{typeof(TValue)}', " +
Transforms\BindingsWrappedRowCursor.cs (5)
31Ch.CheckValue(input, nameof(input)); 32Ch.CheckValue(bindings, nameof(bindings)); 42Ch.Check(column.Index < _bindings.ColumnCount, nameof(column)); 57Ch.Check(IsColumnActive(column), nameof(column)); 60Ch.Assert(isSrc);
Transforms\GenerateNumberTransform.cs (11)
393Ch.CheckValue(bindings, nameof(bindings)); 394Ch.CheckValue(input, nameof(input)); 395Ch.CheckParam(active == null || active.Length == bindings.ColumnCount, nameof(active)); 422Ch.Check(column.Index < _bindings.ColumnCount); 435Ch.Check(IsColumnActive(column)); 443Ch.Assert(originFn != null); 446throw Ch.Except($"Invalid TValue in GetGetter: '{typeof(TValue)}', " + 455Ch.Check(IsGood, RowCursorUtils.FetchValueStateError); 462Ch.Assert(lastCounter <= Input.Position); 474Ch.Check(IsGood, RowCursorUtils.FetchValueStateError); 475Ch.Assert(!_bindings.UseCounter[iinfo]);
Transforms\TransformBase.cs (7)
856Ch.AssertValue(parent); 857Ch.Assert(active == null || active.Length == parent._bindings.ColumnCount); 869_getters[iinfo] = parent.GetGetterCore(Ch, Input, iinfo, out Action disposer); 899Ch.Check(IsColumnActive(column)); 907Ch.Assert(originFn != null); 910throw Ch.Except($"Invalid TValue in GetGetter: '{typeof(TValue)}', " + 920Ch.Check(column.Index < _bindings.ColumnCount);
Microsoft.ML.TimeSeries (11)
SequentialTransformBase.cs (3)
403Ch.Assert(input.Schema.Count == parent.OutputSchema.Count); 414Ch.Check(column.Index < Schema.Count, nameof(column)); 427Ch.Check(IsColumnActive(column), nameof(column));
SequentialTransformerBase.cs (8)
698Ch.Assert(input.Schema.Count == parent.OutputSchema.Count); 709Ch.Check(column.Index < Schema.Count, nameof(column)); 722Ch.Check(IsColumnActive(column), nameof(column)); 1041Ch.Check(column.Index < _bindings.Schema.Count); 1054Ch.Check(IsColumnActive(column)); 1061Ch.AssertValue(_getters); 1063Ch.AssertValue(getter); 1066throw Ch.Except($"Invalid TValue in GetGetter: '{typeof(TValue)}', " +
Microsoft.ML.Transforms (21)
OptionalColumnTransform.cs (7)
443Ch.CheckValue(bindings, nameof(bindings)); 444Ch.CheckValue(input, nameof(input)); 445Ch.CheckParam(active == null || active.Length == bindings.ColumnCount, nameof(active)); 465Ch.Check(column.Index < _bindings.ColumnCount); 478Ch.Check(IsColumnActive(column)); 489Ch.Assert(originFn != null); 492throw Ch.Except($"Invalid TValue in GetGetter: '{typeof(TValue)}', " +
ProduceIdTransform.cs (8)
183Ch.CheckValue(bindings, nameof(bindings)); 193Ch.CheckParam(column.Index < _bindings.ColumnCount, nameof(column)); 198Ch.Assert(index == 0); 211Ch.CheckParam(column.Index < _bindings.ColumnCount, nameof(column)); 212Ch.CheckParam(IsColumnActive(column), nameof(column.Index)); 217Ch.Assert(index == 0); 219Ch.AssertValue(idGetter); 222throw Ch.Except($"Invalid TValue in GetGetter: '{typeof(TValue)}', " +
StatefulCustomMappingTransformer.cs (6)
275Ch.AssertValue(parent); 276Ch.Assert(active == null || active.Length == parent.OutputSchema.Count); 314Ch.Check(IsColumnActive(column)); 322Ch.Assert(originFn != null); 325throw Ch.Except($"Invalid TValue in GetGetter: '{typeof(TValue)}', " + 332Ch.Check(column.Index < _parent._bindings.Schema.Count);