this post was submitted on 07 Oct 2024
3 points (100.0% liked)

GPU

50 readers
1 users here now

GPU - 3D graphics programming, neural networks, WebGL, WebGPU, WebNN, shaders, generative textures and models, OpenGL, DirectX, Metal, Vulkan, Computer Generated Holography

founded 5 months ago
MODERATORS
 

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.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here