Slide 13
Slide 13 text
Follow @chewxy on Twitter
As An Algol Descendent (Go-like) - 2018
Commands, Commands Commands
λ>> x = Matrix((2,2), Float32, WithInit(GlorotN))
λ>> y = Matrix((2,2), Float32, WithInit(Uniform))
λ>> z = MatMul(x, y)
λ>> x.∂ == y // check that the partial deriv of x is equal to y
true
λ>> func id(x [a]) [a] { return x }
id(x): ∀[a]: a → a
...