A Tandem Learning Rule for Efficient and Rapid Inference on Deep Spiking Neural Networks.