Tianqi Chen, a senior fellow student from ACM Class of Shanghai Jiao Tong University (now at UW) published TVM, which introduced the first WebGL-based deep learning…

This is fully possible given existing neural network code on ShaderToy…

But still, real-time deep learning at the browser side is clever, and ambitious… and they did it!

 

Paper: https://arxiv.org/pdf/1802.04799.pdf

Code: https://github.com/dmlc/nnvm/blob/master/tutorials/from_mxnet_to_webgl.py