1 write to Ch
Microsoft.ML.Data (1)
Data\SlotCursor.cs (1)
33
Ch
= provider.Start("Slot Cursor");
39 references to Ch
Microsoft.ML.Data (39)
Data\SlotCursor.cs (3)
72
Ch
.Dispose();
135
Ch
.Assert(_slotIndex >= 0);
141
Ch
.Assert(_slotIndex < 0);
DataLoadSave\Transpose\TransposeLoader.cs (5)
680
Ch
.AssertValue(cursor);
681
Ch
.Assert(cursor.Schema.Count == 1);
682
Ch
.Assert(cursor.Schema[0].Type.RawType == typeof(VBuffer<T>));
683
Ch
.Assert(cursor.Schema[0].Type is VectorDataViewType);
696
throw
Ch
.Except($"Invalid TValue: '{typeof(TValue)}', " +
DataView\Transposer.cs (29)
309
Ch
.Assert(0 <= col && col < parent.Schema.Count);
320
throw
Ch
.Except($"Invalid TValue: '{typeof(TValue)}', " +
327
Ch
.Assert(0 <= _col && _col < _parent.Schema.Count);
344
Ch
.Assert(0 <= col && col < parent.Schema.Count);
346
Ch
.Assert(iinfo >= 0);
358
Ch
.Assert(parent._splitLim[iinfo] - _col == 1);
360
Ch
.AssertValue(_view);
361
Ch
.Assert(_view.Schema[_col].Type is PrimitiveDataViewType);
362
Ch
.Assert(_view.Schema[_col].Type.RawType == typeof(T));
380
Ch
.Check(IsGood, RowCursorUtils.FetchValueStateError);
395
Ch
.Assert(len <= _len);
405
Ch
.Assert(len == _len);
475
Ch
.Assert(iinfo >= 0);
491
Ch
.AssertValue(_view);
512
Ch
.Check(IsGood, RowCursorUtils.FetchValueStateError);
513
Ch
.Assert(_slotCurr >= 0);
519
Ch
.Assert(itemType.RawType == typeof(T));
521
Ch
.Assert(vecLen > 0);
601
Ch
.Assert(heap.Count == 0);
617
Ch
.Assert(pair.Key > s);
626
Ch
.Assert(rbuff.IsDense || rbuffIndices[ii] == s);
641
Ch
.Assert(0 <= idx && idx < _len);
649
Ch
.Assert(offset == _len);
670
Ch
.Assert(_indices[s].Length == _len);
671
Ch
.Assert(_values[s].Length == _len);
686
Ch
.Assert(_slotCurr == _slotLim);
691
Ch
.Assert(_slotLim > 0);
697
Ch
.Check(IsGood, RowCursorUtils.FetchValueStateError);
699
Ch
.Assert(0 <= _slotCurr && _slotCurr < Utils.Size(_cbuff) && _cbuff[_slotCurr].Buffer.Length == _len);
Transforms\LabelConvertTransform.cs (2)
213
Ch
.AssertValue(typeDst);
227
throw
Ch
.Except($"Invalid TValue: '{typeof(TValue)}', " +