Lines Matching refs:numWeights
1211 const int numWeights = computeNumWeights(blockMode); in unquantizeWeights() local
1223 for (int i = 0; i < numWeights; i++) in unquantizeWeights()
1235 for (int weightNdx = 0; weightNdx < numWeights; weightNdx++) in unquantizeWeights()
1257 for (int weightNdx = 0; weightNdx < numWeights; weightNdx++) in unquantizeWeights()
1261 for (int weightNdx = 0; weightNdx < numWeights; weightNdx++) in unquantizeWeights()
1265 for (int weightNdx = numWeights; weightNdx < 64; weightNdx++) in unquantizeWeights()
1509 const int numWeights = computeNumWeights(blockMode); in decompressBlock() local
1510 const int numWeightDataBits = computeNumRequiredBits(blockMode.weightISEParams, numWeights); in decompressBlock()
1515 if (numWeights > 64 || in decompressBlock()
1884 const int numWeights = computeNumWeights(params); in isValidBlockParams() local
1885 const int numWeightBits = computeNumRequiredBits(params.weightISEParams, numWeights); in isValidBlockParams()
1889 return numWeights <= 64 && in isValidBlockParams()
2220 …WeightData (AssignBlock128& dst, const ISEParams& iseParams, const ISEInput& input, int numWeights) in writeWeightData() argument
2222 const int numWeightBits = computeNumRequiredBits(iseParams, numWeights); in writeWeightData()
2224 encodeISE(access, iseParams, input, numWeights); in writeWeightData()
2240 const int numWeights = computeNumWeights(blockParams); in generateNormalBlock() local
2241 const int numWeightBits = computeNumRequiredBits(blockParams.weightISEParams, numWeights); in generateNormalBlock()
2262 writeWeightData(block, blockParams.weightISEParams, iseInputs.weight, numWeights); in generateNormalBlock()
2284 const int numWeights = computeNumWeights(blockParams); in generateDefaultISEInputs() local
2289 for (int i = 0; i < numWeights; i += 2) in generateDefaultISEInputs()
2290 result.weight.value.plain[i] = (i*weightRangeMax + (numWeights-1)/2) / (numWeights-1); in generateDefaultISEInputs()
2292 for (int i = 1; i < numWeights; i += 2) in generateDefaultISEInputs()
2293 …lt.weight.value.plain[i] = weightRangeMax - (i*weightRangeMax + (numWeights-1)/2) / (numWeights-1); in generateDefaultISEInputs()
2297 for (int i = 0; i < numWeights; i++) in generateDefaultISEInputs()
2298 result.weight.value.plain[i] = (i*weightRangeMax + (numWeights-1)/2) / (numWeights-1); in generateDefaultISEInputs()
2532 const int numWeights = computeNumWeights(blockParams); in generateBlockCaseTestData() local
2536 const int numBlocks = deDivRoundUp32(numWeightValues, numWeights); in generateBlockCaseTestData()
2543 for (int weightNdx = 0; weightNdx < numWeights; weightNdx++) in generateBlockCaseTestData()
2544 …iseInputs.weight.value.plain[weightNdx] = (blockNdx*numWeights + weightNdx + offset) % numWeightVa… in generateBlockCaseTestData()
2556 const int numISEBlocksPerBlock = deDivRoundUp32(numWeights, numValuesInISEBlock); in generateBlockCaseTestData()
2921 const int numWeights = computeNumWeights(blockParams); in generateDummyNormalBlocks() local
2926 for (int weightNdx = 0; weightNdx < numWeights; weightNdx++) in generateDummyNormalBlocks()
2927 …lue.plain[weightNdx] = (deUint32)((blockNdx*numWeights + weightNdx) * weightRangeMax / (numBlocks*… in generateDummyNormalBlocks()