This is a simple CNN feedforward network. I extract some important layers from caffe. Armadillo is utilized to speed up matrix operations. The convolution operation is converted into matrix multiplication like caffe.
Details:
I have not tested the performance quantificationally. Qualitatively speaking, it takes about 20-30 ms to run a feedforward on a small CNN network(10 conv layers, input size:55*47) on i5-4590 without GPU.
- Armadillo
- Opencv