Implementation of the Ladder network algorithm. I wrote this as an exercise when learning TensorFlow, and I never got really good results with it. I leave it here as an inspiration to others, but be warned that this may not be a good reference for neither Ladder network nor idiomatic TensorFlow code. For a working TensorFlow Ladder, I urge you to take a look at Rinu's implementation.
The code is based on the following:
The paper Semi-Supervised Learning with Ladder Networks by A Rasmus, H Valpola, M Honkala, M Berglund, and T Raiko.
Theano implementation used in the above paper