Can Convolutional Neural Networks (CNN) be represented by a Mathematical formula?

∥☆過路亽.° 提交于 2019-12-11 04:28:37

问题


Please, let me know if this question should be posted in a differnt stack such as the https://datascience.stackexchange.com/.

Let's say that I already trained my CNN. Is there anyway of my ouput to be represented as a formula just like a perceptron can (x1w1 + x2w2 + ... = PREDICTION).

It does not matter if the formula is more complicated than the perceptron one, but in general would it be possible to train a CNN in Python or Matlab, get the weights and create an arithmetic, exponential, whatever formula made with those acquired weights?

I want to do this because I am trying classify in a PIC32 (a low cost microchip) which I think that does not have the capacity to perform a CNN within itself.

Or, for example, should I pursue the idea of some sort of "C library" that can do CNNs?


回答1:


If you can sacrifice some memory, you can certainly convert a convolution into a matrix multiplication.

It turns out to have its own pros (faster than any trivial implementation unless you optimize really seriously) and cons (large memory consumption).



来源:https://stackoverflow.com/questions/55270799/can-convolutional-neural-networks-cnn-be-represented-by-a-mathematical-formula

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!