Neural signal processing with metal-oxide RRAM devices