Via This:

0_test_classifier.ipynb

Check the function Flexible_1D_CNN() which could build network with list like below:


[
 [in_channel_number, out_channel_number, kernel_size ],  # layer 1
 [in_channel_number, out_channel_number, kernel_size ],  # layer 2
 [in_channel_number, out_channel_number, kernel_size ],  # layer 3
 ...                                                     # layer ...
]

Via This:

1_weight_relay_FL.ipynb

Core function of weight relay. It is long but easy to understand.