... (c::Chain)(x) = (for l in c.layers; x = l(x); end; x) (c::Chain)(x,y) = nll(c(x),y) # Load MNIST data: xtrn,ytrn = MNIST.traindata(Float32); ytrn[ytrn. ... <看更多>
Search
Search
... (c::Chain)(x) = (for l in c.layers; x = l(x); end; x) (c::Chain)(x,y) = nll(c(x),y) # Load MNIST data: xtrn,ytrn = MNIST.traindata(Float32); ytrn[ytrn. ... <看更多>
Updated on 2021-09-19: Highly recommend this blog post on score-based generative modeling by Yang Song (author of several key papers in the ... ... <看更多>