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