Generating functions from deep neural networks

Hello,

I wanted to find out if it is possible to autogenerate the approximate function that a trained NN represents.

Thanks,

-Patrick Saint - Laurent