Lines Matching refs:weights
150 // Compress the weights.
165 uint8_t weights[64];
168 float uqw = static_cast<float>(scb.weights[i]);
171 weights[i] = qat.scramble_map[qwi];
173 encode_ise(QUANT_6, HIGH_SPEED_PROFILE_WEIGHT_BYTES, weights, weightbuf, 0);
195 uint8_t weights[64];
200 float uqw = static_cast<float>(scb.weights[i]);
203 weights[2 * i] = qat.scramble_map[qwi];
205 uqw = static_cast<float>(scb.weights[i + WEIGHTS_PLANE2_OFFSET]);
208 weights[2 * i + 1] = qat.scramble_map[qwi];
215 float uqw = static_cast<float>(scb.weights[i]);
218 weights[i] = qat.scramble_map[qwi];
222 encode_ise(weight_quant_method, real_weight_count, weights, weightbuf, 0);
291 // In dual-plane mode, encode the color component of the second plane of weights
439 scb.weights[i] = qat.unscramble_and_unquant_map[indices[2 * i]];
440 scb.weights[i + WEIGHTS_PLANE2_OFFSET] = qat.unscramble_and_unquant_map[indices[2 * i + 1]];
447 scb.weights[i] = qat.unscramble_and_unquant_map[indices[i]];
564 // Fetch component for second-plane in the case of dual plane of weights.