RRAM for Compute-in-Memory: From Inference to Training | Synapse