Thermodynamic work of partial resetting | Synapse