Implement neural network with winner-take-all nonlinearity in Pylearn2