Memristor-based approximated computation | Synapse