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