Spintronic Devices for Neural Networks