Gorgonia: Primitives for Building Neural Networks in Go
Lightning talk given at Golang Sydney September 2016. This are the slides that introduce Gorgonia which was published earlier that day.
Gorgonia: https://github.com/chewxy/gorgonia
Compile(g) m := NewTapeMachine() Let(x, xVal) Let(w, wVal) // or could be init along the Node if err := m.RunAll(); err != nil { log.Fatal(err) } Follow @chewxy on Twitter
Let(x, xVal) Let(w, wVal) if err := m.RunAll(); err != nil { log.Fatal(err) } f = theano.function(inputs=[x], outputs=grads) f(xVal) More verbose, but more mental clarity with regards to the running mode of the expression* *pure opinion(probably biased) by the creator of Gorgonia Follow @chewxy on Twitter
from music by John Williams, Murray Gold, and Bear McCreary ¡ Neural Tensor Machine ¡ Generative Models in general ¡ (also all the not-so-cool stuff like linear regression*) * The world's oldest machine learning algorithm, over 100years old and still going strong! Follow @chewxy on Twitter
Test coverage is abysmal at 50%. 90% would be nice. ¡ Weird ASM bug wrt []float32 ¡ Add more fun Ops. ¡ Distributed Computing (tried to implement 3 times!!) ¡ Low-level Optimization (esp. re: malloc and gc) https://github.com/chewxy/gorgonia Follow @chewxy on Twitter