NeuSpin: Design of a Reliable Edge Neuromorphic System Based on Spintronics for Green AI