Effect of nitrogen-accommodation ability of electrodes in SiNx-based resistive switching devices | Synapse