21 references to GenLogic
Microsoft.ML.Core.Tests (21)
UnitTests\TestVBuffer.cs (21)
357
GenLogic
genLogic = 0;
400
GenLogic
genLogic = 0;
443
GenLogic
genLogic = 0;
531
GenLogic
genLogic = 0;
583
GenLogic
genLogic;
614
GenLogic
genLogic;
688
GenLogic
genLogic;
826
GenLogic
genLogic;
1087
private static void GeneratePair(Random rgen, int len, out VBuffer<float> a, out VBuffer<float> b, out
GenLogic
subcase)
1099
Contracts.Assert(cases == Enum.GetValues(typeof(
GenLogic
)).Length);
1100
subcase = (
GenLogic
)rgen.Next(cases);
1104
case
GenLogic
.BothDense:
1109
case
GenLogic
.ASparseBDense:
1110
case
GenLogic
.ADenseBSparse:
1113
if (subcase ==
GenLogic
.ASparseBDense)
1116
case
GenLogic
.BothSparseASameB:
1124
case
GenLogic
.BothSparseASubsetB:
1125
case
GenLogic
.BothSparseBSubsetA:
1132
if (subcase ==
GenLogic
.BothSparseASubsetB)
1135
case
GenLogic
.BothSparseAUnrelatedB:
1139
case
GenLogic
.BothSparseADisjointB: