07_hidden_dense16 [main]  run_07_hidden_dense16.keras
=====================================================
input (256, 4, 1) -> output (1,) (raw score; trigger when score > threshold)

layer                          type             filters/units  kernel   step groups     act     input shape    output shape      w+b      MACs
conv1                          QConv2D                     12     5,1    3,1      1    relu     (256, 4, 1)     (84, 4, 12)       72    20,160
pool1                          MaxPooling2D                 -     2,1    2,1      -       -     (84, 4, 12)     (42, 4, 12)        0         0
conv2                          QConv2D                     12     5,1    3,1      1    relu     (42, 4, 12)     (13, 4, 12)      732    37,440
pool2                          MaxPooling2D                 -     2,1    2,1      -       -     (13, 4, 12)      (6, 4, 12)        0         0
flatten                        Flatten                      -       -      -      -       -      (6, 4, 12)          (288,)        0         0
dense1                         QDense                      16       -      -      -  linear          (288,)           (16,)    4,624     4,608
relu_hidden                    ReLU                         -       -      -      -       -           (16,)           (16,)        0         0
dense2                         QDense                       1       -      -      -  linear           (16,)            (1,)       17        16

total weights+biases 5,445   total MACs per window 62,224   heaviest layer conv2 (37,440 MACs)

Learned bit widths (HGQ kif fixed point, one width per tensor; iq = layer input, kq = kernel, bq = bias;
k = sign bit, i = integer bits, f = fractional bits; values as stored in the .keras file;
width = k + round(i) + round(f), i.e. ap_fixed<k+i+f, k+i>; the .keras file is authoritative):
  conv1                          iq: k 1  i   3.995  f   4.609   -> 10 bits  ap_fixed<10,5>
  conv1                          kq: k 1  i   4.000  f   5.845   -> 11 bits  ap_fixed<11,5>
  conv1                          bq: k 1  i   4.000  f   4.681   -> 10 bits  ap_fixed<10,5>
  conv2                          iq: k 1  i   4.000  f   5.306   -> 10 bits  ap_fixed<10,5>
  conv2                          kq: k 1  i   4.000  f   5.327   -> 10 bits  ap_fixed<10,5>
  conv2                          bq: k 1  i   4.000  f   4.218   ->  9 bits  ap_fixed<9,5>
  dense1                         iq: k 1  i   4.000  f   5.310   -> 10 bits  ap_fixed<10,5>
  dense1                         kq: k 1  i   4.000  f   5.802   -> 11 bits  ap_fixed<11,5>
  dense1                         bq: k 1  i   4.000  f   4.174   ->  9 bits  ap_fixed<9,5>
  dense2                         iq: k 1  i   4.000  f   5.119   -> 10 bits  ap_fixed<10,5>
  dense2                         kq: k 1  i   4.000  f   5.733   -> 11 bits  ap_fixed<11,5>
  dense2                         bq: k 1  i   4.000  f   4.662   -> 10 bits  ap_fixed<10,5>
