46 instantiations of DataViewRowId
Microsoft.Data.Analysis (1)
DataFrame.IDataView.cs (1)
124
return (ref DataViewRowId value) => value = new
DataViewRowId
((ulong)_position, 0);
Microsoft.ML.Data (32)
Data\Conversion.cs (5)
871
public void Convert(in U1 src, ref UG dst) => dst = new
UG
(src, 0);
872
public void Convert(in U2 src, ref UG dst) => dst = new
UG
(src, 0);
873
public void Convert(in U4 src, ref UG dst) => dst = new
UG
(src, 0);
874
public void Convert(in U8 src, ref UG dst) => dst = new
UG
(src, 0);
1090
dst = new
UG
(num, hi);
Data\RowCursorUtils.cs (1)
602
val = new
DataViewRowId
((ulong)Position, 0);
DataLoadSave\Binary\BinaryLoader.cs (2)
2068
val = new
DataViewRowId
((ulong)Position, 0);
2094
val = new
DataViewRowId
((ulong)blockPos, 0);
DataLoadSave\Binary\UnsafeTypeOps.cs (1)
203
return new
DataViewRowId
(lo, hi);
DataLoadSave\Database\DatabaseLoaderCursor.cs (1)
111
val = new
DataViewRowId
((ulong)_total, 0);
DataLoadSave\Text\TextLoaderCursor.cs (1)
205
val = new
DataViewRowId
((ulong)_total, 0);
DataLoadSave\Transpose\TransposeLoader.cs (1)
850
val = new
DataViewRowId
((ulong)Position, 0);
DataView\AppendRowsDataView.cs (2)
242
val = val.Combine(new
DataViewRowId
((ulong)_currentSourceIndex, 0));
344
val = val.Combine(new
DataViewRowId
((ulong)_currentSourceIndex, 0));
DataView\ArrayDataViewBuilder.cs (2)
293
val = new
DataViewRowId
((ulong)Position, 0);
302
val = new
DataViewRowId
((ulong)MappedIndex(), 0);
DataView\BatchDataViewMapperBase.cs (1)
136
val = new
DataViewRowId
((ulong)Position, 0);
DataView\CacheDataView.cs (5)
546
val = new
DataViewRowId
((ulong)Position, 0);
778
val = new
DataViewRowId
((ulong)_curr, 0);
843
val = new
DataViewRowId
((ulong)_perm[_curr], 0);
979
val = new
DataViewRowId
((ulong)_curr, 0);
1085
val = new
DataViewRowId
((ulong)_perm[_curr], 0);
DataView\DataViewConstructionUtils.cs (5)
178
private void IdGetter(ref DataViewRowId val) => val = new
DataViewRowId
((ulong)Position, 0);
654
val = new
DataViewRowId
((ulong)Position, 0);
663
val = new
DataViewRowId
((ulong)Index, 0);
727
val = new
DataViewRowId
((ulong)Position, 0);
795
val = new
DataViewRowId
((ulong)Position, 0);
DataView\Transposer.cs (2)
1517
id = new
DataViewRowId
((ulong)_slotCursor.SlotIndex, 0);
1572
id = new
DataViewRowId
((ulong)_slotCursor.SlotIndex, 0);
DataView\ZipDataView.cs (1)
147
val = new
DataViewRowId
((ulong)Position, 0);
Transforms\BootstrapSamplingTransformer.cs (1)
210
val = val.Combine(new
DataViewRowId
((ulong)_remaining, 0));
Transforms\PerGroupTransformBase.cs (1)
319
val = new
DataViewRowId
((ulong)Position, 0);
Microsoft.ML.DataView (3)
DataViewRowId.cs (3)
135
return new
DataViewRowId
(h1, h2);
155
return new
DataViewRowId
(h1, h2);
191
return new
DataViewRowId
(h1, h2);
Microsoft.ML.Parquet (3)
ParquetLoader.cs (2)
618
val = new
DataViewRowId
((ulong)(_readerOptions.Offset + _curDataSetRow), 0);
733
dst = new
DataViewRowId
(lo, hi);
PartitionedFileLoader.cs (1)
440
val = new
DataViewRowId
(0, (ulong)Position);
Microsoft.ML.PerformanceTests (1)
HashBench.cs (1)
26
=> (ref DataViewRowId val) => val = new
DataViewRowId
((ulong)Position, 0);
Microsoft.ML.Samples (1)
Dynamic\SimpleDataViewImplementation.cs (1)
294
=> id = new
DataViewRowId
((ulong)_position, 0);
Microsoft.ML.Tests (1)
Transformers\HashTests.cs (1)
274
HashTestCore(new
DataViewRowId
(value, 0), RowIdDataViewType.Instance, expected, expectedOrdered, expectedOrdered3, expectedCombined, expectedCombinedSparse);
Microsoft.ML.Transforms (4)
MissingValueReplacingUtils.cs (2)
110
return new
DataViewRowId
(resLo, resHi);
119
return new
DataViewRowId
(resLo, resHi);
SvmLight\SvmLightLoader.cs (1)
497
val = new
DataViewRowId
((ulong)Position, 0);
UngroupTransform.cs (1)
525
val = val.Combine(new
DataViewRowId
((ulong)_pivotColPosition, 0));
247 references to DataViewRowId
Microsoft.Data.Analysis (2)
DataFrame.IDataView.cs (2)
122
public override ValueGetter<
DataViewRowId
> GetIdGetter()
124
return (ref
DataViewRowId
value) => value = new DataViewRowId((ulong)_position, 0);
Microsoft.ML.Core (8)
Data\AnnotationUtils.cs (2)
481
public override ValueGetter<
DataViewRowId
> GetIdGetter() => (ref
DataViewRowId
dst) => dst = default;
Data\ColumnTypeExtensions.cs (1)
107
if (type == typeof(
DataViewRowId
))
Data\DataKind.cs (2)
284
return typeof(
DataViewRowId
);
328
else if (type == typeof(
DataViewRowId
))
Data\LinkedRowFilterCursorBase.cs (1)
22
public override ValueGetter<
DataViewRowId
> GetIdGetter()
Data\SynchronizedCursorBase.cs (1)
70
public sealed override ValueGetter<
DataViewRowId
> GetIdGetter() => Input.GetIdGetter();
Data\WrappingRow.cs (1)
27
public override ValueGetter<
DataViewRowId
> GetIdGetter() => Input.GetIdGetter();
Microsoft.ML.Core.Tests (12)
UnitTests\CoreBaseTestClass.cs (12)
29
protected Func<bool> GetIdComparer(DataViewRow r1, DataViewRow r2, out ValueGetter<
DataViewRowId
> idGetter)
34
DataViewRowId
v1 = default(
DataViewRowId
);
35
DataViewRowId
v2 = default(
DataViewRowId
);
128
return GetComparerVec<
DataViewRowId
>(r1, r2, col, size, (x, y) => x.Equals(y));
171
return GetComparerOne<
DataViewRowId
>(r1, r2, col, (x, y) => x.Equals(y));
268
ValueGetter<
DataViewRowId
> idGetter = null;
270
HashSet<
DataViewRowId
> idsSeen = null;
274
DataViewRowId
id = default(
DataViewRowId
);
355
ValueGetter<
DataViewRowId
> idGetter;
Microsoft.ML.Data (145)
Data\Conversion.cs (34)
33
using UG =
DataViewRowId
;
162
AddStd<U1,
UG
>(Convert);
173
AddStd<U2,
UG
>(Convert);
184
AddStd<U4,
UG
>(Convert);
195
AddStd<U8,
UG
>(Convert);
202
AddStd<
UG
, U1>(Convert);
203
AddStd<
UG
, U2>(Convert);
204
AddStd<
UG
, U4>(Convert);
205
AddStd<
UG
, U8>(Convert);
207
AddAux<
UG
, SB>(Convert);
208
AddStd<
UG
, TX>(Convert);
230
AddStd<TX,
UG
>(Convert);
290
AddIsDef<
UG
>(IsDefault);
308
AddTryParse<
UG
>(TryParse);
788
private bool IsDefault(in
UG
src) => src.Equals(default(
UG
));
843
public void Convert(in
UG
src, ref U1 dst) => dst = src.High == 0 && src.Low <= U1.MaxValue ? (U1)src.Low : (U1)0;
851
public void Convert(in
UG
src, ref U2 dst) => dst = src.High == 0 && src.Low <= U2.MaxValue ? (U2)src.Low : (U2)0;
859
public void Convert(in
UG
src, ref U4 dst) => dst = src.High == 0 && src.Low <= U4.MaxValue ? (U4)src.Low : (U4)0;
867
public void Convert(in
UG
src, ref U8 dst) => dst = src.High == 0 ? src.Low : (U8)0;
871
public void Convert(in U1 src, ref
UG
dst) => dst = new UG(src, 0);
872
public void Convert(in U2 src, ref
UG
dst) => dst = new UG(src, 0);
873
public void Convert(in U4 src, ref
UG
dst) => dst = new UG(src, 0);
874
public void Convert(in U8 src, ref
UG
dst) => dst = new UG(src, 0);
875
public void Convert(in
UG
src, ref
UG
dst) => dst = src;
923
public void Convert(in
UG
src, ref SB dst) { ClearDst(ref dst); dst.AppendFormat("0x{0:x16}{1:x16}", src.High, src.Low); }
948
public void Convert(in
UG
src, ref TX dst) => dst = string.Format("0x{0:x16}{1:x16}", src.High, src.Low).AsMemory();
1042
/// A parse method that transforms a 34-length string into a <see cref="
DataViewRowId
"/>.
1049
public bool TryParse(in TX src, out
UG
dst)
1055
dst = default(
UG
);
1078
dst = default(
UG
);
1677
public void Convert(in TX span, ref
UG
value)
1680
Contracts.Assert(value.Equals(default(
UG
)));
Data\DataViewTypeManager.cs (1)
33
typeof(TimeSpan), typeof(
DataViewRowId
)
Data\DataViewUtils.cs (7)
1004
private readonly ValueGetter<
DataViewRowId
> _idGetter;
1048
_idGetter = (ValueGetter<
DataViewRowId
>)_pipes[activeToCol.Length + (int)ExtraIndex.Id].GetGetter();
1068
public override ValueGetter<
DataViewRowId
> GetIdGetter() => _idGetter;
1229
public override ValueGetter<
DataViewRowId
> GetIdGetter()
1231
ValueGetter<
DataViewRowId
>[] idGetters = new ValueGetter<
DataViewRowId
>[_cursors.Length];
1235
(ref
DataViewRowId
val) =>
Data\RowCursorUtils.cs (2)
596
public override ValueGetter<
DataViewRowId
> GetIdGetter()
599
(ref
DataViewRowId
val) =>
DataLoadSave\Binary\BinaryLoader.cs (3)
2060
public override ValueGetter<
DataViewRowId
> GetIdGetter()
2065
(ref
DataViewRowId
val) =>
2084
(ref
DataViewRowId
val) =>
DataLoadSave\Binary\CodecFactory.cs (1)
63
RegisterSimpleCodec(new UnsafeTypeCodec<
DataViewRowId
>(this));
DataLoadSave\Binary\Codecs.cs (1)
163
type == typeof(
DataViewRowId
) ? (DataViewType)RowIdDataViewType.Instance :
DataLoadSave\Binary\UnsafeTypeOps.cs (6)
44
_type2ops[typeof(
DataViewRowId
)] = new UgUnsafeTypeOps();
189
private sealed class UgUnsafeTypeOps : UnsafeTypeOps<
DataViewRowId
>
192
public override unsafe void Apply(ReadOnlySpan<
DataViewRowId
> array, Action<IntPtr> func)
194
fixed (
DataViewRowId
* pArray = &MemoryMarshal.GetReference(array))
198
public override void Write(
DataViewRowId
a, BinaryWriter writer) { writer.Write(a.Low); writer.Write(a.High); }
199
public override
DataViewRowId
Read(BinaryReader reader)
DataLoadSave\Database\DatabaseLoaderCursor.cs (2)
105
public override ValueGetter<
DataViewRowId
> GetIdGetter()
108
(ref
DataViewRowId
val) =>
DataLoadSave\Text\TextLoaderCursor.cs (2)
199
public override ValueGetter<
DataViewRowId
> GetIdGetter()
202
(ref
DataViewRowId
val) =>
DataLoadSave\Transpose\TransposeLoader.cs (2)
844
public override ValueGetter<
DataViewRowId
> GetIdGetter()
847
(ref
DataViewRowId
val) =>
DataView\AppendRowsDataView.cs (7)
217
private ValueGetter<
DataViewRowId
> _currentIdGetter;
232
public override ValueGetter<
DataViewRowId
> GetIdGetter()
235
(ref
DataViewRowId
val) =>
334
public override ValueGetter<
DataViewRowId
> GetIdGetter()
336
ValueGetter<
DataViewRowId
>[] idGetters = new ValueGetter<
DataViewRowId
>[_cursorSet.Length];
340
(ref
DataViewRowId
val) =>
DataView\ArrayDataViewBuilder.cs (3)
285
public override ValueGetter<
DataViewRowId
> GetIdGetter()
290
(ref
DataViewRowId
val) =>
299
(ref
DataViewRowId
val) =>
DataView\BatchDataViewMapperBase.cs (2)
130
public override ValueGetter<
DataViewRowId
> GetIdGetter()
133
(ref
DataViewRowId
val) =>
DataView\CacheDataView.cs (17)
466
public override ValueGetter<
DataViewRowId
> GetIdGetter() => _index.GetIdGetter();
524
public override ValueGetter<
DataViewRowId
> GetIdGetter() => _internal.GetIdGetter();
540
public override ValueGetter<
DataViewRowId
> GetIdGetter()
543
(ref
DataViewRowId
val) =>
735
ValueGetter<
DataViewRowId
> GetIdGetter();
772
public ValueGetter<
DataViewRowId
> GetIdGetter()
775
(ref
DataViewRowId
val) =>
809
public ValueGetter<
DataViewRowId
> GetIdGetter() => _index.GetIdGetter();
837
public ValueGetter<
DataViewRowId
> GetIdGetter()
840
(ref
DataViewRowId
val) =>
880
public ValueGetter<
DataViewRowId
> GetIdGetter() => _index.GetIdGetter();
973
public ValueGetter<
DataViewRowId
> GetIdGetter()
976
(ref
DataViewRowId
val) =>
1037
public ValueGetter<
DataViewRowId
> GetIdGetter() => _index.GetIdGetter();
1079
public ValueGetter<
DataViewRowId
> GetIdGetter()
1082
(ref
DataViewRowId
val) =>
1132
public ValueGetter<
DataViewRowId
> GetIdGetter() => _index.GetIdGetter();
DataView\CompositeRowToRowMapper.cs (1)
114
public override ValueGetter<
DataViewRowId
> GetIdGetter() => _row.GetIdGetter();
DataView\DataViewConstructionUtils.cs (10)
173
public override ValueGetter<
DataViewRowId
> GetIdGetter()
178
private void IdGetter(ref
DataViewRowId
val) => val = new DataViewRowId((ulong)Position, 0);
517
public override ValueGetter<
DataViewRowId
> GetIdGetter() => _toWrap.GetIdGetter();
646
public override ValueGetter<
DataViewRowId
> GetIdGetter()
651
(ref
DataViewRowId
val) =>
660
(ref
DataViewRowId
val) =>
721
public override ValueGetter<
DataViewRowId
> GetIdGetter()
724
(ref
DataViewRowId
val) =>
789
public override ValueGetter<
DataViewRowId
> GetIdGetter()
792
(ref
DataViewRowId
val) =>
DataView\EmptyDataView.cs (2)
60
public override ValueGetter<
DataViewRowId
> GetIdGetter()
62
return (ref
DataViewRowId
val) => throw Ch.Except(RowCursorUtils.FetchValueStateError);
DataView\Transposer.cs (4)
1512
public override ValueGetter<
DataViewRowId
> GetIdGetter() => GetId;
1514
private void GetId(ref
DataViewRowId
id)
1567
public override ValueGetter<
DataViewRowId
> GetIdGetter() => GetId;
1569
private void GetId(ref
DataViewRowId
id)
DataView\TypedCursor.cs (2)
582
public ValueGetter<
DataViewRowId
> GetIdGetter() => _row.GetIdGetter();
619
public override ValueGetter<
DataViewRowId
> GetIdGetter() => _cursor.GetIdGetter();
DataView\ZipDataView.cs (2)
141
public override ValueGetter<
DataViewRowId
> GetIdGetter()
144
(ref
DataViewRowId
val) =>
Training\TrainerUtils.cs (2)
725
private readonly ValueGetter<
DataViewRowId
> _getId;
734
public
DataViewRowId
Id;
Transforms\BootstrapSamplingTransformer.cs (2)
203
public override ValueGetter<
DataViewRowId
> GetIdGetter()
207
(ref
DataViewRowId
val) =>
Transforms\ConversionsExtensionsCatalog.cs (11)
32
/// This estimator operates over vectors or scalars of text, numeric, boolean, key or <see cref="
DataViewRowId
"/> data types. </param>
56
/// This estimator operates over text, numeric, boolean, key and <see cref="
DataViewRowId
"/> data types.
318
/// The output data types can be primitives or vectors of numeric, text, boolean, <see cref="System.DateTime"/>, <see cref="System.DateTimeOffset"/> or <see cref="
DataViewRowId
"/> types.</param>
322
/// The input data types can be primitives or vectors of numeric, text, boolean, <see cref="System.DateTime"/>, <see cref="System.DateTimeOffset"/> or <see cref="
DataViewRowId
"/> types.
361
/// The data types can be primitives or vectors of numeric, text, boolean, <see cref="System.DateTime"/>, <see cref="System.DateTimeOffset"/> or <see cref="
DataViewRowId
"/> types.
394
/// The data types can be primitives or vectors of numeric, text, boolean, <see cref="System.DateTime"/>, <see cref="System.DateTimeOffset"/> or <see cref="
DataViewRowId
"/> types.
425
/// The data types can be primitives or vectors of numeric, text, boolean, <see cref="System.DateTime"/>, <see cref="System.DateTimeOffset"/> or <see cref="
DataViewRowId
"/> types,
429
/// The data types can be primitives or vectors of numeric, text, boolean, <see cref="System.DateTime"/>, <see cref="System.DateTimeOffset"/> or <see cref="
DataViewRowId
"/> types,
466
/// <see cref="System.DateTimeOffset"/> or <see cref="
DataViewRowId
"/> types, as specified in the <typeparamref name="TInputType"/> and <typeparamref name="TOutputType"/>.</param>
495
/// or <see cref="
DataViewRowId
"/> types.</param>
501
/// or <see cref="
DataViewRowId
"/> types.</param>
Transforms\Hashing.cs (12)
395
else if (srcType.RawType == typeof(
DataViewRowId
))
396
return MakeScalarHashGetter<
DataViewRowId
, HashU16>(input, srcCol, seed, mask, _nonOnnxExportableVersion);
428
else if (rawType == typeof(
DataViewRowId
))
429
return ComposeGetterVecCore<
DataViewRowId
, HashU16>(input, iinfo, srcCol, srcType);
507
else if (rawType == typeof(
DataViewRowId
))
508
return MakeCombinedVectorHashGetter<
DataViewRowId
, HashU16>(input, srcCol, seed, mask);
842
private readonly struct HashU16 : IHasher<
DataViewRowId
>
845
public uint HashCoreOld(uint seed, uint mask, in
DataViewRowId
value)
851
public uint HashCore(uint seed, uint mask, in
DataViewRowId
value)
857
public uint HashCore(uint seed, uint mask, in VBuffer<
DataViewRowId
> values)
860
foreach (
var
value in values.DenseValues())
866
private uint HashRound(uint seed,
DataViewRowId
value, bool old)
Transforms\PerGroupTransformBase.cs (2)
313
public override ValueGetter<
DataViewRowId
> GetIdGetter()
316
(ref
DataViewRowId
val) =>
Transforms\RowShufflingTransformer.cs (3)
477
private readonly ValueGetter<
DataViewRowId
> _idGetter;
535
_idGetter = CreateGetterDelegate<
DataViewRowId
>(idPipe);
561
public override ValueGetter<
DataViewRowId
> GetIdGetter()
Transforms\SkipTakeFilter.cs (1)
248
public override ValueGetter<
DataViewRowId
> GetIdGetter()
Utils\ApiUtils.cs (1)
42
t == typeof(
DataViewRowId
) || DataViewTypeManager.Knows(t, attributes))
Microsoft.ML.DataView (13)
DataViewRowId.cs (10)
18
public readonly struct DataViewRowId : IComparable<
DataViewRowId
>, IEquatable<
DataViewRowId
>
27
/// Initializes a new instance of <see cref="
DataViewRowId
"/>
43
public int CompareTo(
DataViewRowId
other)
49
public bool Equals(
DataViewRowId
other)
56
if (obj is
DataViewRowId
other)
123
public
DataViewRowId
Fork()
144
public
DataViewRowId
Next()
166
public
DataViewRowId
Combine(
DataViewRowId
other)
DataViewType.cs (2)
284
/// The <see cref="RowIdDataViewType "/> type. This has representation type of <see cref="
DataViewRowId
"/>.
304
: base(typeof(
DataViewRowId
))
IDataView.cs (1)
140
public abstract ValueGetter<
DataViewRowId
> GetIdGetter();
Microsoft.ML.KMeansClustering (4)
KMeansPlusPlusTrainer.cs (4)
466
private readonly HashArray<
DataViewRowId
> _parallelIndexLookup;
512
private HashArray<
DataViewRowId
> BuildParallelIndexLookup(FeatureFloatVectorCursor.Factory factory)
516
HashArray<
DataViewRowId
> lookup = new HashArray<
DataViewRowId
>();
Microsoft.ML.Parquet (6)
ParquetLoader.cs (4)
517
return CreateGetterDelegateCore<BigInteger,
DataViewRowId
>(col, _parquetConversions.Conv);
611
public override ValueGetter<
DataViewRowId
> GetIdGetter()
614
(ref
DataViewRowId
val) =>
725
public void Conv(in BigInteger src, ref
DataViewRowId
dst)
PartitionedFileLoader.cs (2)
433
public override ValueGetter<
DataViewRowId
> GetIdGetter()
436
(ref
DataViewRowId
val) =>
Microsoft.ML.PerformanceTests (2)
HashBench.cs (2)
25
public override ValueGetter<
DataViewRowId
> GetIdGetter()
26
=> (ref
DataViewRowId
val) => val = new DataViewRowId((ulong)Position, 0);
Microsoft.ML.Samples (2)
Dynamic\SimpleDataViewImplementation.cs (2)
293
private void IdGetterImplementation(ref
DataViewRowId
id)
305
public override ValueGetter<
DataViewRowId
> GetIdGetter()
Microsoft.ML.StandardTrainers (20)
Standard\SdcaBinary.cs (18)
388
DataViewRowId
id = cursor.Id;
569
Func<
DataViewRowId
, long, long> getIndexFromIdAndRow = GetIndexFromIdAndRowGetter(idToIdx, biasReg.Length);
811
Func<
DataViewRowId
, long> getIndexFromId = GetIndexFromIdGetter(idToIdx, biasReg.Length);
974
Func<
DataViewRowId
, long, long> getIndexFromIdAndRow = GetIndexFromIdAndRowGetter(idToIdx, biasReg.Length);
1110
private protected Func<
DataViewRowId
, long> GetIndexFromIdGetter(IdToIdxLookup idToIdx, int biasLength)
1116
return (
DataViewRowId
id) =>
1125
return (
DataViewRowId
id) =>
1141
private protected Func<
DataViewRowId
, long, long> GetIndexFromIdAndRowGetter(IdToIdxLookup idToIdx, int biasLength)
1147
return (
DataViewRowId
id, long row) =>
1156
return (
DataViewRowId
id, long row) =>
1189
public readonly
DataViewRowId
Value;
1191
public Entry(long itNext,
DataViewRowId
value)
1228
public long Add(
DataViewRowId
id)
1243
public bool TryGetIndex(
DataViewRowId
id, out long index)
1258
private long GetIndexCore(
DataViewRowId
val, long iit)
1279
private long AddCore(
DataViewRowId
val, long iit)
1327
DataViewRowId
value = entry.Value;
1354
private static long Get64BitHashCode(
DataViewRowId
value)
Standard\SdcaMulticlass.cs (2)
200
Func<
DataViewRowId
, long> getIndexFromId = GetIndexFromIdGetter(idToIdx, biasReg.Length);
375
Func<
DataViewRowId
, long, long> getIndexFromIdAndRow = GetIndexFromIdAndRowGetter(idToIdx, biasReg.Length);
Microsoft.ML.TestFramework (14)
DataPipe\TestDataPipeBase.cs (14)
725
ValueGetter<
DataViewRowId
> idGetter = null;
727
HashSet<
DataViewRowId
> idsSeen = null;
731
DataViewRowId
id = default(
DataViewRowId
);
813
ValueGetter<
DataViewRowId
> idGetter;
865
protected Func<bool> GetIdComparer(DataViewRow r1, DataViewRow r2, out ValueGetter<
DataViewRowId
> idGetter)
870
DataViewRowId
v1 = default(
DataViewRowId
);
871
DataViewRowId
v2 = default(
DataViewRowId
);
926
else if (rawType == typeof(
DataViewRowId
))
927
return GetComparerOne<
DataViewRowId
>(r1, r2, col, (x, y) => x.Equals(y));
977
else if (itemType == typeof(
DataViewRowId
))
978
return GetComparerVec<
DataViewRowId
>(r1, r2, col, size, (x, y) => x.Equals(y));
Microsoft.ML.TimeSeries (2)
SequentialTransformerBase.cs (2)
657
public override ValueGetter<
DataViewRowId
> GetIdGetter()
1002
public override ValueGetter<
DataViewRowId
> GetIdGetter() => _input.GetIdGetter();
Microsoft.ML.Transforms (17)
GroupTransform.cs (1)
558
public override ValueGetter<
DataViewRowId
> GetIdGetter()
MissingValueReplacingUtils.cs (11)
104
private static
DataViewRowId
Add(
DataViewRowId
left, ulong right)
113
private static
DataViewRowId
Subtract(
DataViewRowId
left, ulong right)
122
private static bool Equals(
DataViewRowId
left, ulong right)
127
private static bool GreaterThanOrEqual(
DataViewRowId
left, ulong right)
132
private static bool GreaterThan(
DataViewRowId
left, ulong right)
137
private static double ToDouble(
DataViewRowId
value)
206
private
DataViewRowId
_valueCount;
211
public
DataViewRowId
ValueCount { get { return _valueCount; } }
472
public double GetCurrentValue(IChannel ch,
DataViewRowId
count)
StatefulFilterTransform.cs (1)
187
public override ValueGetter<
DataViewRowId
> GetIdGetter()
SvmLight\SvmLightLoader.cs (2)
491
public override ValueGetter<
DataViewRowId
> GetIdGetter()
494
(ref
DataViewRowId
val) =>
UngroupTransform.cs (2)
519
public override ValueGetter<
DataViewRowId
> GetIdGetter()
522
return (ref
DataViewRowId
val) =>