Resistive switching and activity-dependent modifications in Ni-doped graphene oxide thin films