I’ve kept playing with shader programming and managed to export a trained neural network’s weights as GLSL variable definitions. The code is ugly as hell as I’ve done a lot of quick experiments with it, and I went all-in with macros where functions would probably be better suited. I hope you still find it interesting.
Excluding neural network weights, the whole thing is ~300 lines of code and can run a few variations of a simple convolutional network.
You must log in or register to comment.