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