11_antennas_as_channels [main]  run_11_antennas_as_channels.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
antennas_to_channels           Reshape                      -       -      -      -       -     (256, 4, 1)     (256, 1, 4)        0         0
conv1                          QConv2D                     12     5,1    3,1      1    relu     (256, 1, 4)     (84, 1, 12)      252    20,160
pool1                          MaxPooling2D                 -     2,1    2,1      -       -     (84, 1, 12)     (42, 1, 12)        0         0
conv2                          QConv2D                     12     5,1    3,1      1    relu     (42, 1, 12)     (13, 1, 12)      732     9,360
pool2                          MaxPooling2D                 -     2,1    2,1      -       -     (13, 1, 12)      (6, 1, 12)        0         0
flatten                        Flatten                      -       -      -      -       -      (6, 1, 12)           (72,)        0         0
dense1                         QDense                       1       -      -      -  linear           (72,)            (1,)       73        72

total weights+biases 1,057   total MACs per window 29,592   heaviest layer conv1 (20,160 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   4.004  f   4.654   -> 10 bits  ap_fixed<10,5>
  conv1                          kq: k 1  i   4.000  f   5.969   -> 11 bits  ap_fixed<11,5>
  conv1                          bq: k 1  i   4.000  f   4.285   ->  9 bits  ap_fixed<9,5>
  conv2                          iq: k 1  i   4.000  f   5.053   -> 10 bits  ap_fixed<10,5>
  conv2                          kq: k 1  i   4.000  f   5.661   -> 11 bits  ap_fixed<11,5>
  conv2                          bq: k 1  i   4.000  f   4.316   ->  9 bits  ap_fixed<9,5>
  dense1                         iq: k 1  i   4.000  f   5.342   -> 10 bits  ap_fixed<10,5>
  dense1                         kq: k 1  i   4.000  f   5.313   -> 10 bits  ap_fixed<10,5>
  dense1                         bq: k 1  i   4.000  f   4.104   ->  9 bits  ap_fixed<9,5>


11_antennas_as_channels [channels_input]  run_11_antennas_as_channels__channels_input.keras
===========================================================================================
input (256, 1, 4) -> 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, 1, 4)     (84, 1, 12)      252    20,160
pool1                          MaxPooling2D                 -     2,1    2,1      -       -     (84, 1, 12)     (42, 1, 12)        0         0
conv2                          QConv2D                     12     5,1    3,1      1    relu     (42, 1, 12)     (13, 1, 12)      732     9,360
pool2                          MaxPooling2D                 -     2,1    2,1      -       -     (13, 1, 12)      (6, 1, 12)        0         0
flatten                        Flatten                      -       -      -      -       -      (6, 1, 12)           (72,)        0         0
dense1                         QDense                       1       -      -      -  linear           (72,)            (1,)       73        72

total weights+biases 1,057   total MACs per window 29,592   heaviest layer conv1 (20,160 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   4.004  f   4.654   -> 10 bits  ap_fixed<10,5>
  conv1                          kq: k 1  i   4.000  f   5.969   -> 11 bits  ap_fixed<11,5>
  conv1                          bq: k 1  i   4.000  f   4.285   ->  9 bits  ap_fixed<9,5>
  conv2                          iq: k 1  i   4.000  f   5.053   -> 10 bits  ap_fixed<10,5>
  conv2                          kq: k 1  i   4.000  f   5.661   -> 11 bits  ap_fixed<11,5>
  conv2                          bq: k 1  i   4.000  f   4.316   ->  9 bits  ap_fixed<9,5>
  dense1                         iq: k 1  i   4.000  f   5.342   -> 10 bits  ap_fixed<10,5>
  dense1                         kq: k 1  i   4.000  f   5.313   -> 10 bits  ap_fixed<10,5>
  dense1                         bq: k 1  i   4.000  f   4.104   ->  9 bits  ap_fixed<9,5>
