On the Gradual Unipolar and Bipolar Resistive Switching of TiN 2 Memory Systems | Synapse