Neural network - pulse implementation