I've trained an autoencoder using lasagne/nolearn. Suppose the network layers are [500, 100, 100, 500]. I've trained the neural net like so:
net.fit(X, X)
I want to do something like the following:
net.predict(X, layer=2)
so I'll get the suppressed representation of my data. So, if my initial data have a shape [10000, 500], the resulting data will be [10000, 100].
I searched but could not find how to do that. Is it possible with lasagne/nolearn?