I would like to implement a function randomcorrupt(x, blocksize) that takes a row tensor x and an integer blocksize and returns a version of x in which exactly one block of blocksize coordinates has been set to zero. How/is this possible in Theano?

asked Nov 19 '13 at 18:17

Alex%20Gittens's gravatar image

Alex Gittens
1111

Be the first one to answer this question!
toggle preview

powered by OSQA

User submitted content is under Creative Commons: Attribution - Share Alike; Other things copyright (C) 2010, MetaOptimize LLC.