Lines Matching defs:num_weights
600 int num_weights;
1113 for (int i = 0; i < num_weights; i += 5) {
1133 for (int i = 0; i < num_weights; i += 3) {
1150 for (int i = 0; i < num_weights; ++i) {
1163 assert(num_weights <= (int)ARRAY_SIZE(weights_quant));
1164 assert(num_weights <= (int)ARRAY_SIZE(weights));
1168 for (int i = 0; i < num_weights; ++i) {
1465 printf("weights_grid=%dx%dx%d dual_plane=%d num_weights=%d high_prec=%d r=%d range=0..%d (%dt %dq %db) weight_bits=%d\n",
1466 wt_w, wt_h, wt_d, dual_plane, num_weights, high_prec, wt_range, wt_max, wt_trits, wt_quints, wt_bits, weight_bits);
1540 if (num_weights > 64)
1552 for (int i = 0; i < num_weights; ++i) {
1740 num_weights = wt_w * wt_h * wt_d;
1743 num_weights *= 2;
1746 (num_weights * 8 * wt_trits + 4) / 5
1747 + (num_weights * 7 * wt_quints + 2) / 3
1748 + num_weights * wt_bits;