A Hybrid Neural Coding Approach for Pattern Recognition With Spiking Neural Networks