30 references to AlignedArray
Microsoft.ML.CpuMath (2)
AlignedMatrix.cs (2)
61_items = new AlignedArray(cflt, cbAlign); 319Items = new AlignedArray(RunLenPhy * RunCntPhy, cbAlign);
Microsoft.ML.CpuMath.PerformanceTests (3)
PerformanceTests.cs (3)
107testMatrixAligned = new AlignedArray(matrixLength * matrixLength, align); 110testSrcVectorAligned = new AlignedArray(matrixLength, align); 113testDstVectorAligned = new AlignedArray(matrixLength, align);
Microsoft.ML.CpuMath.UnitTests (8)
UnitTests.cs (8)
69AlignedArray testMatrixAligned1 = new AlignedArray(8 * 8, _vectorAlignment); 70AlignedArray testMatrixAligned2 = new AlignedArray(8 * 16, _vectorAlignment); 80AlignedArray testSrcVectorAligned1 = new AlignedArray(8, _vectorAlignment); 81AlignedArray testSrcVectorAligned2 = new AlignedArray(16, _vectorAlignment); 91AlignedArray testDstVectorAligned1 = new AlignedArray(8, _vectorAlignment); 92AlignedArray testDstVectorAligned2 = new AlignedArray(16, _vectorAlignment); 902AlignedArray src = new AlignedArray(8 + 8 * test, _vectorAlignment); 916AlignedArray src = new AlignedArray(8 + 8 * test, _vectorAlignment);
Microsoft.ML.StandardTrainers (6)
FactorizationMachine\FactorizationMachineTrainer.cs (3)
301latentWeightsAligned = new AlignedArray(featureCount * fieldCount * _latentDimAligned, 16); 303latentAccumulatedSquaredGradsAligned = new AlignedArray(featureCount * fieldCount * _latentDimAligned, 16); 462var latentSum = new AlignedArray(fieldCount * fieldCount * _latentDimAligned, 16);
FactorizationMachine\FieldAwareFactorizationMachineModelParameters.cs (2)
92_latentWeightsAligned = new AlignedArray(FeatureCount * FieldCount * LatentDimAligned, 16); 160_latentWeightsAligned = new AlignedArray(FeatureCount * FieldCount * LatentDimAligned, 16);
FactorizationMachine\FieldAwareFactorizationMachineUtils.cs (1)
101var latentSum = new AlignedArray(_pred.FieldCount * _pred.FieldCount * _pred.LatentDimAligned, 16);
Microsoft.ML.Tests (3)
TrainerEstimators\MatrixFactorizationTests.cs (3)
827var leftFactorMatrixAligned = new AlignedArray(m * k, 64); 832var rightFactorVectorAligned = new AlignedArray(k, 64); 838var valuesAtSecondColumn = new AlignedArray(m, 64);
Microsoft.ML.Transforms (8)
RandomFourierFeaturizing.cs (8)
124RndFourierVectors = new AlignedArray(roundedUpD * roundedUpNumFeatures, CpuMathUtils.GetVectorAlignment()); 125RotationTerms = _useSin ? null : new AlignedArray(roundedUpD, CpuMathUtils.GetVectorAlignment()); 158RndFourierVectors = new AlignedArray(roundedUpD * roundedUpNumFeatures, CpuMathUtils.GetVectorAlignment()); 159RotationTerms = _useSin ? null : new AlignedArray(roundedUpD, CpuMathUtils.GetVectorAlignment()); 517var featuresAligned = new AlignedArray(RoundUp(_srcTypes[iinfo].GetValueCount(), _cfltAlign), CpuMathUtils.GetVectorAlignment()); 518var productAligned = new AlignedArray(RoundUp(_parent._transformInfos[iinfo].NewDim, _cfltAlign), CpuMathUtils.GetVectorAlignment()); 534var featuresAligned = new AlignedArray(RoundUp(1, _cfltAlign), CpuMathUtils.GetVectorAlignment()); 535var productAligned = new AlignedArray(RoundUp(_parent._transformInfos[iinfo].NewDim, _cfltAlign), CpuMathUtils.GetVectorAlignment());