3 writes to LatentDimAligned
Microsoft.ML.StandardTrainers (3)
FactorizationMachine\FieldAwareFactorizationMachineModelParameters.cs (3)
83LatentDimAligned = FieldAwareFactorizationMachineUtils.GetAlignedVectorLength(latentDim); 118LatentDimAligned = FieldAwareFactorizationMachineUtils.GetAlignedVectorLength(latentDim); 148LatentDimAligned = FieldAwareFactorizationMachineUtils.GetAlignedVectorLength(latentDim);
18 references to LatentDimAligned
Microsoft.ML.StandardTrainers (18)
FactorizationMachine\FieldAwareFactorizationMachineModelParameters.cs (17)
84Host.Assert(Utils.Size(latentWeights) == checked(featureCount * fieldCount * LatentDimAligned)); 92_latentWeightsAligned = new AlignedArray(FeatureCount * FieldCount * LatentDimAligned, 16); 99int indexAligned = j * FieldCount * LatentDimAligned + f * LatentDimAligned; 100for (int k = 0; k < LatentDimAligned; k++) 119Host.Assert(latentWeightsAligned.Size == checked(featureCount * fieldCount * LatentDimAligned)); 149Host.Check(checked(featureCount * fieldCount * LatentDimAligned) <= Utils.ArrayMaxSize, "Latent dimension too large"); 160_latentWeightsAligned = new AlignedArray(FeatureCount * FieldCount * LatentDimAligned, 16); 166int vBiasAligned = j * FieldCount * LatentDimAligned + f * LatentDimAligned; 167for (int k = 0; k < LatentDimAligned; k++) 206Host.Assert(_latentWeightsAligned.Size == FeatureCount * FieldCount * LatentDimAligned); 219int vBiasAligned = j * FieldCount * LatentDimAligned + f * LatentDimAligned; 234FieldAwareFactorizationMachineInterface.CalculateIntermediateVariables(FieldCount, LatentDimAligned, count, 276int indexAligned = j * FieldCount * LatentDimAligned + f * LatentDimAligned;
FactorizationMachine\FieldAwareFactorizationMachineUtils.cs (1)
101var latentSum = new AlignedArray(_pred.FieldCount * _pred.FieldCount * _pred.LatentDimAligned, 16);